Commit d21945c597868c51d12076048c0685b2d8e5fcf8
1 parent
d53a3011
分享直播间,打一下日志~~看share_openid 是多少
Showing
1 changed file
with
6 additions
and
2 deletions
pages/goods/goodsInfo/goodsInfo.js
| @@ -284,7 +284,11 @@ Page({ | @@ -284,7 +284,11 @@ Page({ | ||
| 284 | prom_id = t.prom_id || 0; //活动ID | 284 | prom_id = t.prom_id || 0; //活动ID |
| 285 | 285 | ||
| 286 | var share_openid = t.share_openid; | 286 | var share_openid = t.share_openid; |
| 287 | - //群id | 287 | + |
| 288 | + console.log("gd onload-- 3 --"); | ||
| 289 | + console.log(t); | ||
| 290 | + | ||
| 291 | + //群id | ||
| 288 | if(t && t.groupchat_id && !t.groupchat_id!='undefined' && !t.groupchat_id!='null'){ | 292 | if(t && t.groupchat_id && !t.groupchat_id!='undefined' && !t.groupchat_id!='null'){ |
| 289 | getApp().globalData.groupchat_id=t.groupchat_id | 293 | getApp().globalData.groupchat_id=t.groupchat_id |
| 290 | } | 294 | } |
| @@ -378,7 +382,7 @@ Page({ | @@ -378,7 +382,7 @@ Page({ | ||
| 378 | gid: gid | 382 | gid: gid |
| 379 | }); | 383 | }); |
| 380 | 384 | ||
| 381 | - console.log("gd onload--2"); | 385 | + console.log("gd onload-- 2 --"); |
| 382 | console.log(first_leader); | 386 | console.log(first_leader); |
| 383 | 387 | ||
| 384 | if (first_leader) { | 388 | if (first_leader) { |