index.php 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  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('getOrder','v1.index/getOrder');
  17. //订单total
  18. Route::rule('getOrderTotal','v1.index/getOrderTotal');
  19. //
  20. Route::rule('detailList','v1.index/detailList');
  21. //
  22. Route::rule('moneyInit','v1.index/moneyInit');
  23. //提现数据
  24. Route::rule('subTx','v1.index/subTx');
  25. //
  26. Route::rule('txList','v1.index/txList');
  27. //
  28. Route::rule('password','v1.index/password');
  29. })->middleware([
  30. \app\warehouse\middleware\AllowOriginMiddleware::class,
  31. \app\warehouse\middleware\AdminAuthTokenMiddleware::class
  32. ]);