1234567891011121314151617181920212223242526 |
- <?php
- namespace {%controllerNamespace%};
- use app\common\controller\Backend;
- use think\Controller;
- use think\Request;
- /**
- * {%tableComment%}
- *
- * @icon {%iconName%}
- */
- class {%controllerName%} extends Backend
- {
- protected $model = null;
- public function _initialize()
- {
- parent::_initialize();
- $this->model = model('{%modelName%}');
- }
- }
|