QueryCoupon.js
1.65 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
/**
* Created by yoho on 2016/6/21.
*/
module.exports = {
namespace: "QueryCoupon",
apis: {
/************************************优惠券查询管理*************************************/
queryUserCouponLogsList: {
title: "券记录列表",
url: "/couponLogs/queryUserCouponLogsList",
params: {
page: {type: Number},
size: {type: Number},
couponId: {type: Number},
couponCode: {type: String},
couponName: {type: String},
orderCode: {type: Number},
uid: {type: Number},
status: {type: Number}
}
},
delayUserCoupon: {
title: "延长优惠券有效期",
url: "/couponLogs/delayUserCoupon",
params: {
id: {type: Number},
uid:{type: Number},
endTime: {type: Number}
}
},
cancelCouponUse: {
title: "手工退券",
url: "/couponLogs/cancelCouponUse",
params: {
id: {type: Number},
uid:{type: Number}
}
},
couponExport: {
title: "优惠券下载",
url: "/couponExport",
params:{
type:{type: String},
queryConf:{type: String}
}
},
checkCouponExportFileIsExist: {
title: "判断需要下载的文件是否生成",
url: "/checkCouponExportFileIsExist",
params:{
queryConf:{type: String}
}
}
}
};