goods.netsale.js
5.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
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
module.exports=function(app) {
/*网销信息页面渲染*/
app.get("/goods/netsale/index","goods.netsale.Index",function(){
this.$extend={
moduleName:'商品管理',
pageName:'网销信息'
}
});
/*列表数据*/
app.post("/goods/netsale/getList","netsale_queryNetSaleInforList");
/*tab*/
app.post("/goods/product/queryTabProductNum","netsale_queryTabProductNum");
/*批量skn处理*/
app.post("/goods/product/updateProductSknTimingInfo","netsale_updateProductSknTimingInfo");
/*skc上下架*/
app.post("/goods/product/updateGoodsStatus","netsale_updateGoodsStatus");
/*skc上下架*/
app.post("/goods/product/updateProductSkuStatus","netsale_updateProductSkuStatus");
app.post("/goods/product/addproductModelCard","netsale_addproductModelCard");
app.post("/goods/product/delproductModelCard","netsale_delproductModelCard");
/*批量页面渲染*/
app.get("/goods/netsale/batch","goods.netsale.Batch",function(){
this.$extend={
moduleName:'商品管理',
pageName:'批量设置'
}
});
/*查看页面渲染*/
app.get("/goods/netsale/info/:param","goods.netsale.Edit","netsale_getNetSaleInfo",function(data){
this.$extend={
moduleName:'商品管理',
pageName:'查看网销信息',
type: 'info'
}
return data;
});
/*编辑页面渲染*/
app.get("/goods/netsale/edit/:param","goods.netsale.Edit","netsale_getNetSaleInfo",function(data){
this.$extend={
moduleName:'商品管理',
pageName:'编辑网销信息',
type: 'edit'
}
return data;
});
/*编辑页面渲染*/
app.get("/goods/audit/info/:param","goods.netsale.Edit","netsale_getNetSaleInfo",function(data){
this.$extend={
moduleName:'商品管理',
pageName:'查看网销信息',
type: 'info',
action:'audit'
}
return data;
});
/*查询网销详情*/
app.post("/goods/netsale/getdata","netsale_getNetSaleInfo");
/*保存完整网销信息*/
app.post("/goods/product/saveNetSaleAllInfo","netsale_saveNetSaleAllInfo");
/*保存基本信息接口*/
app.post("/goods/product/saveNetSaleBaseInfo","netsale_saveNetSaleBaseInfo");
/*保存上架后补全信息*/
app.post("/goods/product/saveAfterSaleInfo","netsale_saveAfterSaleInfo");
/*查询补全信息*/
app.post("/goods/product/queryAttributesByConf","netsale_queryAttributesByConf");
/*通过品牌获取店铺*/
app.post("/goods/ShopsRest/queryShopsByBrandId","netsale_queryShopsByBrandId");
/*查询制作工艺列表*/
app.post("/goods/product/queryMakingProcess","netsale_queryMakingProcess");
/*查询品牌款型系列列表*/
app.post("/goods/brandSeries/queryAll4Select","netsale_queryAll4Select");
/*品牌关联*/
app.post("/goods/product/saveBrandRelation","netsale_saveBrandRelation");
/*保存视频接口*/
app.post("/goods/product/saveNetSaleVideo","netsale_saveNetSaleVideo");
/*关联逛*/
// app.post("/goods/article/queryArticlesBySKN","netsale_queryArticlesBySKN");
/*品牌关联列表*/
app.post("/goods/brands/queryBrandsByStatus","netsale_queryBrandsByStatus");
/*网销信息 -> 商品参数*/
app.post("/goods/product/queryAttributesByConfEx","netsale_queryAttributesByConfEx");
/*调用图片*/
app.post("/productPhoto/queryProductPhotoList","netsale_queryProductPhotoList");
/*调用视频*/
app.post("/productVideo/queryProductVideoList","netsale_queryProductVideoList");
/*保存搜索顺序*/
app.post("/netSale/saveSearchSort","netsale_saveSearchSort");
/*查找热搜词*/
app.post("/netSale/queryHotSearchTerms","netsale_queryHotSearchTerms");
/*查找洗涤提示*/
app.post("/netSale/getAll4Select","netsale_getAll4Select");
/*查找材质参数*/
app.post("/netSale/queryAllBySortId4Select","netsale_queryAllBySortId4Select");
/*查找所有商品参数信息 //暂时没用*/
app.post("/netSale/queryAllGoodsParams",["netsale_getAll4Select","netsale_queryAllBySortId4Select"]);
/*保存搜索关键词*/
app.post("/netSale/saveNetSaleSearchKeys","netsale_saveNetSaleSearchKeys");
/*保存商品参数*/
app.post("/netSale/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");
/*小编推荐*/
app.post("/guang/article/queryArticlesBySKN","netsale_queryArticlesBySKN");
/*保存店铺商品搜索顺序*/
app.post("/netSale/saveShopsSearchSort","netsale_saveShopsSearchSort");
/*保存商品链接*/
app.post("/netSale/saveProductUrlList","netsale_saveProductUrlList");
/*立即比价商品链接*/
app.post("/ChannelProductController/synChannelProduct","netsale_synChannelProduct");
/*商品操作的埋点请求*/
app.post("/product/addProductOperateLog","netsale_addProductOperateLog");
/*商品状态的操作日志请求 */
app.post("/goods/product/queryStatusOperateLog","netsale_queryStatusOperateLog");
/*商品主要卖点*/
app.post("/product/saveSellingPoint","netsale_saveSellingPoint");
app.post("/goods/product/changeProductShowSize", "netsale_changeProductShowSize");
/*校验线下店库存*/
app.post("/product/checkOfflineStorage","netsale_checkOfflineStorage");
}