goods.cod.js
1.65 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
47
48
49
50
51
52
53
54
55
56
57
58
59
module.exports=function(app) {
/*品牌货到付款限制页面路由*/
app.get("/goods/cod/brand/index","goods.cod.Brand",function(){
this.$extend={
moduleName:"货到付款限制",
pageName:"品牌设置"
}
});
/*分页*/
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.Goods",function(){
this.$extend={
moduleName:"货到付款限制",
pageName:"单品设置"
}
});
/*列表*/
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.get("/goods/cod/upload","goods.cod.Upload",function(){
this.$extend={
moduleName:"货到付款限制",
pageName:"批量导入"
}
});
}