order.php 1.1 KB

123456789101112131415161718192021222324252627282930
  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-09-06 21:52
  10. // +----------------------------------------------------------------------
  11. use think\facade\Route;
  12. Route::group('order', function () {
  13. Route::rule('getOrderList','v1.Order/getOrderList');
  14. //推送订单
  15. Route::rule('getOrderPushList','v1.Order/getOrderPushList');
  16. //订单下载
  17. Route::rule('orderDown','v1.Order/orderDown');
  18. //查看订单详情
  19. Route::rule('orderSubItem','v1.Order/orderSubItem');
  20. //底单申请列表
  21. Route::rule('orderDdList','v1.Order/orderDdList');
  22. //售后订单
  23. Route::rule('orderMonoList','v1.Order/orderMonoList');
  24. })->middleware([
  25. \app\admin\middleware\AllowOriginMiddleware::class,
  26. \app\admin\middleware\AdminAuthTokenMiddleware::class
  27. ]);