promotion.js
2.17 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
module.exports={
namespace:"promotion",
apis:{
addPromotionInfo:{
title:"新增",
url:"/promotion/addPromotionInfo",
params:[
{name: 'title', type: 'string'},
{name: 'description', type: 'string'},
{name: 'fitChannel', type: 'string'},
{name: 'startTime', type: 'string'},
{name: 'endTime', type: 'string'},
{name: 'priority', type: 'Number'},
{name: 'status', type: 'Number'},
{name: 'erpPromotionType', type: 'Number'},
{name: 'erpPromotionId', type: 'Number'}
]
},
updatePromotionInfo:{
title:"修改",
url:"/promotion/updatePromotionInfo",
params:[
{name: 'id', type: 'Number'},
{name: 'title', type: 'string'},
{name: 'description', type: 'string'},
{name: 'fitChannel', type: 'string'},
{name: 'startTime', type: 'string'},
{name: 'endTime', type: 'string'},
{name: 'priority', type: 'Number'},
{name: 'status', type: 'Number'},
{name: 'erpPromotionType', type: 'Number'},
{name: 'erpPromotionId', type: 'Number'}
]
},
getPromotionInfo:{
title:"查询",
url:"/promotion/getPromotionInfo",
params:[
{name: 'param', type: 'Number'}
]
},
deletePromotionInfo:{
title:"删除",
url:"/promotion/deletePromotionInfo",
params:[
{name: 'param', type: 'Number'}
]
},
getPromotionInfoList:{
title:"查询列表",
url:"/promotion/getPromotionInfoList",
params:[
{name: 'status', type: 'Number'},
{name:'is_valid',type:'Number'},
{name: 'sort_type', type: 'Number'},
{name: 'title', type: 'string'},
{name: 'page',type: 'Number'},
{name: 'size',type: 'Number'}
]
}
}
}