12345678910111213141516171819202122232425262728293031323334 |
- <?php
- namespace app\admin\controller\laboratory;
- use app\common\controller\Backend;
- /**
- * 实验室介绍
- */
- class Introduction extends Backend
- {
- /**
- * Introduction模型对象
- * @var object
- * @phpstan-var \app\admin\model\laboratory\Introduction
- */
- protected object $model;
- protected array|string $preExcludeFields = ['id', 'create_time', 'update_time'];
- protected string|array $quickSearchField = ['id'];
- public function initialize(): void
- {
- parent::initialize();
- $this->model = new \app\admin\model\laboratory\Introduction;
- $this->request->filter('clean_xss');
- }
- /**
- * 若需重写查看、编辑、删除等方法,请复制 @see \app\admin\library\traits\Backend 中对应的方法至此进行重写
- */
- }
|