marketing.QueryCoupon.js
1.2 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
/**
* 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}
}
}
}
};