audit.php 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <?php
  2. // +----------------------------------------------------------------------
  3. // | [ WE CAN DO IT MORE SIMPLE ]
  4. // +----------------------------------------------------------------------
  5. // | Copyright (c) 2018-2020 rights reserved.
  6. // +----------------------------------------------------------------------
  7. // |
  8. // +----------------------------------------------------------------------
  9. // | Date: 2020-09-05 09:21
  10. // +----------------------------------------------------------------------
  11. use think\facade\Route;
  12. //@用户审核
  13. Route::group('audit', function () {
  14. //@信息审核初始
  15. Route::rule('infoAuditInit','audit/infoAuditInit');
  16. //@信息审核列表
  17. Route::rule('infoAuditList', 'audit/infoAuditList');
  18. //@信息审核处理
  19. Route::rule('infoAuditSub','audit/infoAuditSub');
  20. Route::rule('infoAuditInfo','audit/infoAuditInfo');
  21. //@平台认证审核初始
  22. Route::rule('typeAuditInit','audit/typeAuditInit');
  23. //@平台认证审核列表
  24. Route::rule('typeAuditList', 'audit/typeAuditList');
  25. //@平台认证审核处理
  26. Route::rule('typeAuditSub','audit/typeAuditSub');
  27. //@平台认证审核详情
  28. Route::rule('typeAuditInfo','audit/typeAuditInfo');
  29. })->middleware([
  30. \app\system\middleware\AllowOriginMiddleware::class,
  31. \app\system\middleware\AdminAuthTokenMiddleware::class,
  32. \app\system\middleware\AdminCkeckRoleMiddleware::class
  33. ]);