Introduction.php 806 B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. namespace app\admin\controller\laboratory;
  3. use app\common\controller\Backend;
  4. /**
  5. * 实验室介绍
  6. */
  7. class Introduction extends Backend
  8. {
  9. /**
  10. * Introduction模型对象
  11. * @var object
  12. * @phpstan-var \app\admin\model\laboratory\Introduction
  13. */
  14. protected object $model;
  15. protected array|string $preExcludeFields = ['id', 'create_time', 'update_time'];
  16. protected string|array $quickSearchField = ['id'];
  17. public function initialize(): void
  18. {
  19. parent::initialize();
  20. $this->model = new \app\admin\model\laboratory\Introduction;
  21. $this->request->filter('clean_xss');
  22. }
  23. /**
  24. * 若需重写查看、编辑、删除等方法,请复制 @see \app\admin\library\traits\Backend 中对应的方法至此进行重写
  25. */
  26. }