Authored by 李靖

修改code码

... ... @@ -39,7 +39,7 @@ exports.receive = (req, res, next) => {
exports.receiveAll = (req, res, next) => {
let params = {
uid: req.user.uid,
eventCode: 111
eventCode: 'EXPANSION_COUPON_SEND_EVENT'
};
req.ctx(couponModel).receiveAll(params).then(result => {
... ...
... ... @@ -46,7 +46,7 @@ class CouponList extends global.yoho.BaseModel {
data: {
method: 'app.coupons.sendCouponByConfig',
uid: params.uid,
couponId: params.couponid
eventCode: params.eventCode
},
param: {
cache: true
... ...