1234567891011121314151617181920212223242526272829303132333435 |
- <?php
- namespace app\admin\controller;
- use app\admin\attr\Permission;
- use app\admin\controller\BaseAuthorized;
- #[Permission('good_class')]
- class GoodClass extends BaseAuthorized
- {
- public function page()
- {
- return $this->GoodClassService()->page();
- }
- public function all()
- {
- return $this->GoodClassService()->all();
- }
- public function create()
- {
- return $this->GoodClassService()->create();
- }
- public function update()
- {
- return $this->GoodClassService()->update();
- }
- public function delete()
- {
- return $this->GoodClassService()->delete();
- }
- }
|