price.js
1.33 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/pricechange/index","goods.price.PriceChange",function () {
this.$extend={
moduleName:'商品管理',
pageName:'代销变价'
}
});
/*列表数据*/
app.post("/goods/price/list","price_queryProductPriceList");
/*获得单个变价详情*/
app.post("/goods/getPrice","price_getProductPrice");
/*单个变价接口*/
app.post("/goods/updatePrice","price_updateProductPrice");
/*变价记录*/
app.post("/goods/queryProductPriceListBySkn","price_queryProductPriceListBySkn");
/*变价记录(新)*/
app.post("/goods/queryNewProductPriceListBySkn","price_queryNewProductPriceListBySkn");
/*删除变价记录*/
app.post("/goods/deletePricePlan","price_deletePricePlan");
/*批量变价接口*/
app.post("/goods/batchUpdatePrice","price_batchUpdateProductPrice");
/**************************品牌合作模式页面渲染*******************************/
app.get("/goods/brandCooperation/index","goods.price.BrandCooperation",function(){
this.$extend={
moduleName:'商品管理',
pageName:'品牌合作模式设置'
}
});
/*列表数据*/
app.post("/brandCooperation/queryBrandCooperationList","price_queryBrandCooperationList");
/*修改合作模式*/
app.post("/brandCooperation/saveBrandCooperation","price_saveBrandCooperation");
}