netsale.js
3.62 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
/**
* Created by ty on 2016/5/18.
*/
module.exports=function(app) {
app.get("/product/content/index", "goods.netsale.Index", function (req, res){
this.$extend={
moduleName:'商品管理',
pageName: '网销信息',
gridurl: '/product/queryNetSaleInforList',
shopId:req.session.user.auth.shopId
};
});
app.get("/goods/netsale/batch", "goods.netsale.Batch", function (req, res){
this.$extend={
moduleName: '网销信息',
pageName: '批量设置',
domain: exports.domain
};
});
app.get("/goods/netsale/info/:param", "goods.netsale.Edit", function (req, res){
this.$extend={
type: 'info',
moduleName: "网销信息",
pageName: "查看商品信息"
};
});
app.get("/goods/netsale/edit/:param", "goods.netsale.Edit", function (req, res){
this.$extend={
type: 'edit',
moduleName: "网销信息",
maintitle: "编辑商品信息"
};
});
app.get("/goods/audit/info/:param", "goods.netsale.Edit", function (req, res){
this.$extend={
type: 'info',
action: 'audit'
};
});
app.post("/product/queryNetSaleInforList", "netsale_queryNetSaleInforList");
app.post("/product/queryTabProductNum", "netsale_queryTabProductNum");
app.post("/product/updateProductSknTimingInfo", "netsale_updateProductSknTimingInfo");
app.post("/product/updateGoodsStatus", "netsale_updateGoodsStatus");
app.post("/product/updateProductSkuStatus", "netsale_updateProductSkuStatus");
app.post("/goods/netsale/getdata", "netsale_getNetSaleInfo");
app.post("/product/saveNetSaleAllInfo", "netsale_saveNetSaleAllInfo");
app.post("/product/saveNetSaleBaseInfo", "netsale_saveNetSaleBaseInfo");
app.post("/product/saveAfterSaleInfo", "netsale_saveAfterSaleInfo");
app.post("/product/queryAttributesByConf", "netsale_queryAttributesByConf");
app.post("/ShopsRest/queryShopsByBrandId", "netsale_queryShopsByBrandId");
app.post("/product/queryMakingProcess", "netsale_queryMakingProcess");
app.post("/brandSeries/queryAll4Select", "netsale_queryAll4Select");
app.post("/product/saveBrandRelation", "netsale_saveBrandRelation");
app.post("/product/saveNetSaleVideo", "netsale_saveNetSaleVideo");
app.post("/article/queryArticlesBySKN", "netsale_queryArticlesBySKN");
app.post("/erpproduct/brands/queryBrandsByStatus", "netsale_queryBrandsByStatus");
app.post("/product/queryAttributesByConfEx", "netsale_queryAttributesByConfEx");
app.post("/productPhoto/queryProductPhotoList", "netsale_queryProductPhotoList");
app.post("/product/saveSearchSort", "netsale_saveSearchSort");
app.post("/searchWords/queryHotSearchTerms", "netsale_queryHotSearchTerms");
app.post("/product/saveNetSaleSearchKeys", "netsale_saveNetSaleSearchKeys");
app.post("/product/saveProductParam", "netsale_saveProductParam");
app.post("/product/saveProductDesc", "netsale_saveProductDesc");
app.post("/product/saveNetSaleRecommend", "netsale_saveNetSaleRecommend");
app.post("/collocation/selectCollocationListBySkn", "netsale_selectCollocationListBySkn");
app.post("/collocation/selectCollocationById", "netsale_selectCollocationById");
app.post("/collocation/insertCollocation", "netsale_insertCollocation");
app.post("/collocation/updateCollocation", "netsale_updateCollocation");
app.post("/collocation/delCollocationById", "netsale_delCollocationById");
app.post("/product/manageProductImg", "netsale_manageProductImg");
}