cod.js
1.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
module.exports=function(app) {
/*品牌货到付款限制页面路由*/
app.get("/goods/cod/brand/index","goods.cod.Index");
/*分页*/
app.post("/payDelivery/queryTotalBrandPayDelivery","cod_queryTotalBrandPayDelivery");
/*开启 & 关闭 货到付款*/
app.post("/payDelivery/addPayDeliveryCheck","cod_addPayDeliveryCheck");
/*通过 & 驳回申请*/
app.post("/payDelivery/reviewPayDeliveryCheck","cod_reviewPayDeliveryCheck");
/*获取tab上的数量*/
app.post("/payDelivery/queryCountBrandPayDelivery","cod_queryCountBrandPayDelivery");
/*单品货到付款限制页面路由*/
app.get("/goods/cod/goods/index","goods.cod.Index2");
/*列表*/
app.post("/payDelivery/queryPayDeliveryList","cod_queryPayDeliveryList");
/*开启货到付款*/
app.post("/payDelivery/openPayDelivery","cod_openPayDelivery");
/*关闭货到付款*/
app.post("/payDelivery/closePayDelivery","cod_closePayDelivery");
/*通过申请*/
app.post("/payDelivery/passPayDelivery","cod_passPayDelivery");
/*驳回申请*/
app.post("/payDelivery/rejectPayDelivery","cod_rejectPayDelivery");
/*获取skn列表*/
app.post("/payDelivery/queryPayDeliveryProductSkn","cod_queryPayDeliveryProductSkn");
/*获取tab上的数量*/
app.post("/payDelivery/queryCountProductPayDelivery","cod_queryCountProductPayDelivery");
/*获取品牌列表*/
app.post("/payDelivery/queryPayDeliveryBrandName","cod_queryPayDeliveryBrandName");
/*批量导入*/
app.get("/goods/cod/upload","goods.cod.Upload");
}