index.php 1.0 KB

1234567891011121314151617181920212223242526272829
  1. <?php
  2. // +----------------------------------------------------------------------
  3. // | [ WE CAN DO IT MORE SIMPLE ]
  4. // +----------------------------------------------------------------------
  5. // | Copyright (c) 2018-2020 rights reserved.
  6. // +----------------------------------------------------------------------
  7. // | Author: TABLE ME
  8. // +----------------------------------------------------------------------
  9. // | Date: 2020-08-30 14:41
  10. // +----------------------------------------------------------------------
  11. use think\facade\Route;
  12. Route::group('index', function () {
  13. //获取权限列表
  14. Route::rule('getIndex', 'v1.index/getIndex');
  15. //site
  16. Route::rule('getSite','v1.index/getSite');
  17. //订单total
  18. Route::rule('getOrderTotal','v1.index/getOrderTotal');
  19. //
  20. Route::rule('rechargeInit','v1.index/rechargeInit');
  21. //提现数据
  22. Route::rule('subTx','v1.index/subTx');
  23. })->middleware([
  24. \app\admin\middleware\AllowOriginMiddleware::class,
  25. \app\admin\middleware\AdminAuthTokenMiddleware::class
  26. ]);