Cate.php 575 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. namespace app\admin\controller\mall;
  3. use app\common\model\ShopCategory;
  4. use app\admin\traits\Curd;
  5. use app\common\controller\AdminController;
  6. use EasyAdmin\annotation\ControllerAnnotation;
  7. use EasyAdmin\annotation\NodeAnotation;
  8. use think\App;
  9. use think\Model;
  10. /**
  11. * Class Admin
  12. * @package app\admin\controller\system
  13. * @ControllerAnnotation(title="商品分类管理")
  14. */
  15. class Cate extends AdminController
  16. {
  17. use Curd;
  18. public function __construct(App $app)
  19. {
  20. parent::__construct($app);
  21. $this->model = new ShopCategory();
  22. }
  23. }