Commit 1c12caca7a5dde2a5e5d773fdfe987750118cf4d
1 parent
47e3c89e
助力活动礼包详情的优化
Showing
1 changed file
with
5 additions
and
5 deletions
pages/user/assistance/giftpacklist.js
| ... | ... | @@ -49,11 +49,11 @@ Page({ |
| 49 | 49 | } |
| 50 | 50 | if (options.is_libao == 1) { |
| 51 | 51 | th.setData({ |
| 52 | - giftBagId: options.libao_id, | |
| 53 | - is_type: 1, | |
| 54 | - taskId: options.taskId | |
| 52 | + held_id: options.help_id, | |
| 53 | + taskId: options.taskId, | |
| 54 | + is_type: 1 | |
| 55 | 55 | }) |
| 56 | - th.GetBuyGiftList(); | |
| 56 | + th.help(); | |
| 57 | 57 | } |
| 58 | 58 | if (options.order_sn) { |
| 59 | 59 | th.setData({ |
| ... | ... | @@ -204,7 +204,7 @@ Page({ |
| 204 | 204 | var json = { |
| 205 | 205 | "actId": th.data.taskId, //活动Id |
| 206 | 206 | "actType": 5, //活动类型 1:新人礼、2:评价有礼、3:节日营销、4:生日营销 |
| 207 | - "giftBagId": th.data.giftBagId, //礼包Id | |
| 207 | + "giftBagId": 1, //礼包Id | |
| 208 | 208 | "storeId": a.stoid, //商家Id |
| 209 | 209 | "userId": d.user_id //用户ID |
| 210 | 210 | }; | ... | ... |