productPool.js
1.88 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
// exports.domain = require('../config/common.js').domain;
exports.domain = "http://192.168.102.201:8082/platform";
exports.res = [
{
//商品池管理 -> 页面渲染
route: '/market/productPool/index',
method: 'GET',
view: 'pages/market/productPool',
src: '/market/productPool'
}, {
//商品池管理 ->查询商品池分页
route: '/market/productPool/queryProductPoolPage',
method: 'POST',
url: '/pool/queryProductPoolPage',
params: [
{name: 'page', type: 'number'},
{name: 'size', type: 'number',def:10},
{name: 'id', type: 'number'},
{name: 'poolName', type: 'string'}
]
}, {
//添加商品池
route: '/market/productPool/addProductPoolBo',
method: 'POST',
url: '/pool/addProductPoolBo',
params: [
{name: 'activityid', type: 'number'},
{name: 'poolName', type: 'string'},
{name: 'comment', type: 'string'},
{name: 'producttype', type: 'string'},
{name: 'productSkn', type: 'string'}
]
}, {
//商品池详细列表分页
route: '/market/productPool/queryProductPoolDetailPage',
method: 'POST',
url: '/pool/queryProductPoolDetailPage',
params: [
{name: 'page', type: 'number'},
{name: 'size', type: 'number',def:10},
{name: 'id', type: 'number'}
]
}, {
//商品池详细列表删除
route: '/market/productPool/deleteProductPoolDetailBo',
method: 'POST',
url: '/pool/deleteProductPoolDetailBo',
params: [
{name: 'id', type: 'number'}
]
}, {
//商品池详细列表添加
route: '/market/productPool/addProductPoolDetailBo',
method: 'POST',
url: '/pool/addProductPoolDetailBo',
params: [
{name: 'activityid', type: 'number'},
{name: 'poolId', type: 'number'},
{name: 'productskn', type: 'number'},
{name: 'producttype', type: 'number'}
]
}];