Commit 76134058b4bac9156b114cac0c22510fef755f37
1 parent
fe621372
会员登陆页要带导购ID
Showing
1 changed file
with
5 additions
and
1 deletions
pages/togoin/togoin.js
| ... | ... | @@ -55,7 +55,11 @@ Page({ |
| 55 | 55 | head_pic: app.clear_word(app.globalData.getu.avatarUrl) |
| 56 | 56 | }; |
| 57 | 57 | |
| 58 | - | |
| 58 | + //-- 导购会员ID -- | |
| 59 | + if(getApp().globalData.guide_id){ | |
| 60 | + dd.guide_id=getApp().globalData.guide_id; | |
| 61 | + } | |
| 62 | + | |
| 59 | 63 | getApp().request.get("/api/weshop/users/openidandkey", { |
| 60 | 64 | data: dd, |
| 61 | 65 | success: function (e) { | ... | ... |