Quick.php 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <?php
  2. // +----------------------------------------------------------------------
  3. // | EasyAdmin
  4. // +----------------------------------------------------------------------
  5. // | PHP交流群: 763822524
  6. // +----------------------------------------------------------------------
  7. // | 开源协议 https://mit-license.org
  8. // +----------------------------------------------------------------------
  9. // | github开源项目:https://github.com/zhongshaofa/EasyAdmin
  10. // +----------------------------------------------------------------------
  11. namespace app\admin\controller\system;
  12. use app\common\model\SystemQuick;
  13. use app\common\controller\AdminController;
  14. use EasyAdmin\annotation\ControllerAnnotation;
  15. use EasyAdmin\annotation\NodeAnotation;
  16. use think\App;
  17. /**
  18. * @ControllerAnnotation(title="快捷入口管理")
  19. * Class Quick
  20. * @package app\admin\controller\system
  21. */
  22. class Quick extends AdminController
  23. {
  24. use \app\admin\traits\Curd;
  25. protected $sort = [
  26. 'sort' => 'desc',
  27. 'id' => 'desc',
  28. ];
  29. public function __construct(App $app)
  30. {
  31. parent::__construct($app);
  32. $this->model = new SystemQuick();
  33. }
  34. }