123456789101112131415161718192021222324252627 |
- <?php
- namespace app\admin\controller;
- use app\admin\attr\Permission;
- #[Permission('allocation')]
- class Allocation extends BaseAuthorized
- {
- public function page()
- {
- return $this->AllocationService()->page();
- }
- public function info()
- {
- return $this->AllocationService()->info();
- }
- public function create()
- {
- return $this->AllocationService()->createTrans($this->admin);
- }
- public function revert()
- {
- return $this->AllocationService()->revertTrans($this->admin);
- }
- }
|