12345678910111213141516171819202122232425262728293031323334353637383940 |
- <?php
- namespace app\admin\controller;
- use app\admin\attr\Permission;
- use app\admin\controller\BaseAuthorized;
- #[Permission('io')]
- class Io extends BaseAuthorized
- {
- public function page()
- {
- return $this->IoService()->page();
- }
- public function info()
- {
- return $this->IoService()->info();
- }
- public function create()
- {
- return $this->IoService()->createTrans(admin: $this->admin);
- }
- public function complete()
- {
- return $this->IoService()->completeTrans(admin: $this->admin);
- }
- public function revert()
- {
- return $this->IoService()->revertTrans(admin: $this->admin);
- }
- public function export()
- {
- return $this->IoService()->export();
- }
- }
|