marketing.ProductPool.js
2.97 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
/**
* Created by yoho on 2016/6/21.
*/
module.exports = {
namespace: "ProductPool",
apis: {
/************************************商品池*************************************/
queryProductPoolPage: {
title: "商品池列表",
url: '/pool/queryProductPoolPage',
params: {
id: {type: Number},
poolName: {type: String},
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},
productSkns: {type: String}
}
},
updateProductPool: {
title: "编辑商品池",
url: '/pool/updateProductPool',
params: {
id: {type: Number},
poolName: {type: String},
comment: {type: String},
producttype: {type: String},
productSkns: {type: String}
}
},
clearProductPool: {
title: "清空商品池",
url: '/pool/clearProductPool',
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}
}
},
batchAddProductPool: {
title: "批量添加SKN",
url: '/pool/batchAddProductPool',
params: {
activityid: {type: Number},
id: {type: Number},
producttype: {type: Number},
productSkns: {type: String}
}
}
}
};