GoodClass.php 642 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. namespace app\admin\controller;
  3. use app\admin\attr\Permission;
  4. use app\admin\controller\BaseAuthorized;
  5. #[Permission('good_class')]
  6. class GoodClass extends BaseAuthorized
  7. {
  8. public function page()
  9. {
  10. return $this->GoodClassService()->page();
  11. }
  12. public function all()
  13. {
  14. return $this->GoodClassService()->all();
  15. }
  16. public function create()
  17. {
  18. return $this->GoodClassService()->create();
  19. }
  20. public function update()
  21. {
  22. return $this->GoodClassService()->update();
  23. }
  24. public function delete()
  25. {
  26. return $this->GoodClassService()->delete();
  27. }
  28. }