app.php 1.5 KB

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. use think\facade\Route;
  3. //账号
  4. route::rule('login', 'abutment/Account/login');//供应商登录
  5. //基础信息
  6. route::rule('getPlatformList', 'abutment/Index/getPlatformList');//推广平台列表
  7. route::rule('getCatList', 'abutment/Index/getCatList');//获取分类列表
  8. route::rule('getBrandList', 'abutment/Index/getBrandList');//获取品牌列表
  9. route::rule('getUnitList', 'abutment/Index/getUnitList');//获取单位列表
  10. route::rule('getSpecsTitleList', 'abutment/Index/getSpecsTitleList');//获取规格类型列表
  11. route::rule('getSpecsValueByTitleList', 'abutment/Index/getSpecsValueByTitleList');//获取规格值列表
  12. route::rule('getAreaList', 'abutment/Index/getAreaList');//获取省市区列表
  13. route::rule('getCompanyNoList', 'abutment/Index/getCompanyNoList');//获取业务公司编码
  14. //商品模块
  15. route::rule('getGoodList', 'abutment/Good/list');//商品列表
  16. route::rule('createGood', 'abutment/Good/createGood');//创建商品
  17. route::rule('updateGoodBasicsInfo', 'abutment/Good/updateGoodBasicsInfo');//修改商品基础信息
  18. route::rule('updateGoodPriceInfo', 'abutment/Good/updateGoodPriceInfo');//修改商品价格信息
  19. route::rule('getGoodDetail', 'abutment/Good/read');//获取商品详情
  20. //销售订单(采销的采购单)
  21. route::rule('getOrderList', 'abutment/Order/getList');//列表
  22. route::rule('getOrderInfo', 'abutment/Order/info');//详情
  23. route::rule('changeOrderStatus', 'abutment/Order/status');//订单确认
  24. route::rule('addOrderIn', 'abutment/Order/add');//订单批量入库