commission.php 930 B

12345678910111213141516171819202122232425
  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('commission', function () {
  13. //total提现数据
  14. Route::rule('total', 'v1.commission/total');
  15. //order 佣金明细
  16. Route::rule('order','v1.commission/order');
  17. //提现记录
  18. Route::rule('txList','v1.commission/txList');
  19. })->middleware([
  20. \app\admin\middleware\AllowOriginMiddleware::class,
  21. \app\admin\middleware\AdminAuthTokenMiddleware::class
  22. ]);