warehouse.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-09-05 09:21
  10. // +----------------------------------------------------------------------
  11. use think\facade\Route;
  12. Route::group('warehouse', function () {
  13. //获取仓库列表
  14. Route::rule('list', 'v1.warehouse/list');
  15. // //修改|添加仓库列表
  16. // Route::post('save','v1.warehouse/save');
  17. // //获取仓库详情
  18. // Route::post('info','v1.warehouse/info');
  19. // //仓库删除数据
  20. // Route::post('del','v1.warehouse/del');
  21. //
  22. Route::post('exp','v1.warehouse/exp');
  23. //保存快递价格
  24. Route::post('expSave','v1.warehouse/expSave');
  25. //更新物流
  26. Route::post('updateSiteExp','v1.warehouse/updateSiteExp');
  27. })->middleware([
  28. \app\admin\middleware\AllowOriginMiddleware::class,
  29. \app\admin\middleware\AdminAuthTokenMiddleware::class
  30. ]);