修改添加券时的初始化数据

This commit is contained in:
zhl 2021-05-21 11:53:36 +08:00
parent f411255443
commit 1ac39b9ef4

View File

@ -130,7 +130,8 @@ class UserRewardClass extends BaseModule {
shop: history.shop,
sessionId: history._id,
status: 0,
rewardId
rewardId,
coupon
})
if (history.type === 1) {
record.activityId = history.activityId