Commit f6cdc5ce9c036f1fa9d8b6aa389506801510ad79
1 parent
d77c7e90
助力领取礼包优惠券来源的优化
Showing
1 changed file
with
3 additions
and
2 deletions
pages/user/assistance/giftpacklist.js
@@ -218,9 +218,10 @@ Page({ | @@ -218,9 +218,10 @@ Page({ | ||
218 | "actId": th.data.id, //活动Id | 218 | "actId": th.data.id, //活动Id |
219 | "actType": 5, //活动类型 1:新人礼、2:评价有礼、3:节日营销、4:生日营销 | 219 | "actType": 5, //活动类型 1:新人礼、2:评价有礼、3:节日营销、4:生日营销 |
220 | //"giftBagId": 1, //礼包Id | 220 | //"giftBagId": 1, //礼包Id |
221 | - "giftBagId": th.giftBagId, //礼包Id | 221 | + "giftBagId": th.giftBagId, //礼包Id |
222 | "storeId": a.stoid, //商家Id | 222 | "storeId": a.stoid, //商家Id |
223 | - "userId": d.user_id //用户ID | 223 | + "userId": d.user_id, //用户ID |
224 | + "buyFrom":2 //小程序领取 | ||
224 | }; | 225 | }; |
225 | var data = JSON.stringify(json); | 226 | var data = JSON.stringify(json); |
226 | var url = th.data.url + "/api/weshop/marketing/free/receive/gift/record/insert"; | 227 | var url = th.data.url + "/api/weshop/marketing/free/receive/gift/record/insert"; |