marketing.ProductPool.js
4.18 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
/**
* Created by yoho on 2016/6/21.
*/
module.exports = {
namespace: "ProductPool",
apis: {
/************************************商品池*************************************/
queryProductPoolPage: {
title: "商品池列表",
url: '/pool/queryProductPoolPage',
params: {
id: {type: Number},
poolName: {type: String},
diffType: {type: Number},
page: {type: Number},
size: {type: Number,default:10}
}
},
addProductPoolBo: {
title: "添加商品池",
url: '/pool/addProductPoolBo',
params: {
activityid: {type: Number},
poolName: {type: String},
comment: {type: String},
producttype: {type: String},
diffType: {type: Number},
productSkns: {type: String},
productDetailInfo: {type: String},
bannerUrl: {type: String},
backImageUrl: {type: String},
tokens: {type: String},
}
},
updateProductPool: {
title: "编辑商品池",
url: '/pool/updateProductPool',
params: {
id: {type: Number},
poolName: {type: String},
comment: {type: String},
producttype: {type: String},
productSkns: {type: String},
productDetailInfo: {type: String},
bannerUrl: {type: String},
backImageUrl: {type: String},
tokens: {type: String}
}
},
clearProductPool: {
title: "清空商品池",
url: '/pool/clearProductPool',
params: {
id: {type: Number}
}
},
clearProductPoolBanner: {
title: "清空商品池banner",
url: '/pool/clearProductPoolBanner',
params: {
id: {type: Number}
}
},
clearProductPoolBackImageUrl: {
title: "清空商品池活动背景图",
url: '/pool/clearProductPoolBackImageUrl',
params: {
id: {type: Number}
}
},
deleteProductPool: {
title: "删除商品池",
url: '/pool/deleteProductPool',
params: {
id: {type: Number}
}
},
queryProductPoolDetailPage: {
title: "详情列表",
url: '/pool/queryProductPoolDetailPage',
params: {
id: {type: Number},
productSkn:{type: Number},
maxSortId:{type: Number},
middleSortId:{type: Number},
smallSortId:{type: Number},
brandId:{type: Number},
page: {type: Number},
size: {type: Number,default:10}
}
},
deleteProductPoolDetailBo: {
title: "详情删除SKN",
url: '/pool/deleteProductPoolDetailBo',
params: {
id: {type: Number}
}
},
addProductPoolDetailBo: {
title: "详情添加SKN",
url: '/pool/addProductPoolDetailBo',
params: {
activityid: {type: Number},
poolId: {type: Number},
productskn: {type: Number},
producttype: {type: Number}
}
},
updateProductPoolDetailSort: {
title: "详情修改排序",
url: '/pool/updateProductPoolDetailSort',
params: {
id: {type: Number},
producttype: {type: Number},
sort: {type: Number}
}
},
batchAddProductPool: {
title: "批量添加SKN",
url: '/pool/batchAddProductPool',
params: {
activityid: {type: Number},
id: {type: Number},
producttype: {type: Number},
productSkns: {type: String},
productDetailInfo: {type: String}
}
}
}
};