1234567891011121314151617181920212223242526 |
- <?php
- defined('YII_DEBUG') or define('YII_DEBUG', true);
- defined('YII_ENV') or define('YII_ENV', 'dev');
- require 'api/vendor/autoload.php';
- require 'api/vendor/yiisoft/yii2/Yii.php';
- $config = require 'api/config/web.php';
- (new yii\web\Application($config));
- $locomotiveModel = new app\models\LocomotiveModel();
- $params['section_id'] = '3ac3f7e5-4846-11e3-9348-ac162db0b20c';
- $result = $locomotiveModel->getSectionRemarks($params);
- var_dump( $result);
- ?>
|