Display.php 783 B

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