Io.php 757 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?php
  2. namespace app\admin\controller;
  3. use app\admin\attr\Permission;
  4. use app\admin\controller\BaseAuthorized;
  5. #[Permission('io')]
  6. class Io extends BaseAuthorized
  7. {
  8. public function page()
  9. {
  10. return $this->IoService()->page();
  11. }
  12. public function info()
  13. {
  14. return $this->IoService()->info();
  15. }
  16. public function create()
  17. {
  18. return $this->IoService()->createTrans(admin: $this->admin);
  19. }
  20. public function complete()
  21. {
  22. return $this->IoService()->completeTrans(admin: $this->admin);
  23. }
  24. public function revert()
  25. {
  26. return $this->IoService()->revertTrans(admin: $this->admin);
  27. }
  28. public function export()
  29. {
  30. return $this->IoService()->export();
  31. }
  32. }