diff --git a/pages/giftpack/birthdaygift/birthdaygift.js b/pages/giftpack/birthdaygift/birthdaygift.js index 6610de1..bc5144e 100644 --- a/pages/giftpack/birthdaygift/birthdaygift.js +++ b/pages/giftpack/birthdaygift/birthdaygift.js @@ -140,7 +140,8 @@ Page({ "actType": 4, //活动类型 1:新人礼、2:评价有礼、3:节日营销、4:生日营销 "giftBagId": th.data.giftID, //礼包Id "storeId": a.stoid, //商家Id - "userId": d.user_id //用户ID + "userId": d.user_id, //用户ID + "buyFrom": 2 }; var data = JSON.stringify(json); var url = th.data.url + "/api/weshop/marketing/free/receive/gift/record/insert"; diff --git a/pages/giftpack/evaluategift/evaluategift.js b/pages/giftpack/evaluategift/evaluategift.js index 442f981..189fda9 100644 --- a/pages/giftpack/evaluategift/evaluategift.js +++ b/pages/giftpack/evaluategift/evaluategift.js @@ -157,7 +157,8 @@ Page({ "orderNumber": th.data.orderNumber, "orderType": th.data.orderType, "orderGoodsId": th.data.orderGoodsId, - "giftBagId": th.data.giftBagId + "giftBagId": th.data.giftBagId, + "buyFrom": 2 }; var data = JSON.stringify(json); var url = th.data.url + "/api/weshop/marketing/free/receive/gift/record/insert"; diff --git a/pages/giftpack/festival/festival.js b/pages/giftpack/festival/festival.js index a0e28e7..473f42f 100644 --- a/pages/giftpack/festival/festival.js +++ b/pages/giftpack/festival/festival.js @@ -147,7 +147,8 @@ Page({ "actType": 3, //活动类型 1:新人礼、2:评价有礼、3:节日营销、4:生日营销 "giftBagId": th.data.giftID, //礼包Id "storeId": a.stoid, //商家Id - "userId": d.user_id //用户ID + "userId": d.user_id, //用户ID + "buyFrom": 2 } var data = JSON.stringify(json); var url = th.data.url + "/api/weshop/marketing/free/receive/gift/record/insert"; diff --git a/pages/giftpack/newvipgift/newvipgift.js b/pages/giftpack/newvipgift/newvipgift.js index 601e05c..30f0261 100644 --- a/pages/giftpack/newvipgift/newvipgift.js +++ b/pages/giftpack/newvipgift/newvipgift.js @@ -139,7 +139,8 @@ Page({ "actType": 1, //活动类型 1:新人礼、2:评价有礼、3:节日营销、4:生日营销 "giftBagId": th.data.giftID, //礼包Id "storeId": a.stoid, //商家Id - "userId": d.user_id //用户ID + "userId": d.user_id, //用户ID + "buyFrom": 2 }; var data = JSON.stringify(json); var url = th.data.url + "/api/weshop/marketing/free/receive/gift/record/insert";