vip.index.js
1.9 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
/**
* Created by yoho on 2016/6/20.
* VIP 接口定义
*/
module.exports = {
namespace: "vip",
apis: {
/*************************************VIP管理*************************************/
queryProductVipList: {
title: "获取商品VIP列表",
url: '/vip/queryProductVipList',
params: {
productSkn: {type: Number},
shopId: {type: Number},
brandId: {type: Number},
vipDiscountType: {type: Number},
vipReturnCoinStatus: {type: Number},
page: {type: Number}
}
},
changeStatus: {
title: "修改商品VIP状态",
url: '/vip/changeStatus',
params: {
productSkn: {type: Number},
productVipStatus: {type: Number}
}
},
batchChangeStatus: {
title: "修改商品VIP状态",
url: '/vip/batchChangeStatus',
params: {
sknList: {type: String},
changeStatus: {type: Number}
}
},
shopVipTrigger: {
title: "开启关闭",
url: "/vip/shopVipTrigger",
params: [
{ name: 'shopsIds', type: 'String'},
{ name: 'vipStatus', type: 'Number'}
]
},
changeReturnCoinStatus: {
title: "修改商品VIP状态",
url: '/vip/changeReturnCoinStatus',
params: {
productSkn: {type: Number},
vipReturnCoinStatus: {type: Number}
}
},
batchChangeReturnCoinStatus: {
title: "修改商品VIP状态",
url: '/vip/batchChangeReturnCoinStatus',
params: {
sknList: {type: String},
vipReturnCoinStatus: {type: Number}
}
}
}
};