sys.php 1.2 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-08-30 14:41
  10. // +----------------------------------------------------------------------
  11. use think\facade\Route;
  12. //@基本设置
  13. Route::group('sys', function () {
  14. //@切换基本设置
  15. Route::rule('index', 'sys/index');
  16. //@保存基本设置
  17. Route::rule('save','sys/save');
  18. //@保存用户条款
  19. Route::rule('agreeSave','sys/agreeSave');
  20. //@微信配置保存
  21. Route::rule('wxsave','sys/wxsave');
  22. //@提现方式列表
  23. Route::rule('bankList','sys/bankList');
  24. //@添加编辑提现方式
  25. Route::rule('bankSave','sys/bankSave');
  26. //@删除提现方式
  27. Route::rule('bankDel','sys/bankDel');
  28. })->middleware([
  29. \app\system\middleware\AllowOriginMiddleware::class,
  30. \app\system\middleware\AdminAuthTokenMiddleware::class,
  31. \app\system\middleware\AdminCkeckRoleMiddleware::class
  32. ]);