Commit 16474176edeee797b92936a3075c733ad0f4fcb7
1 parent
68d39c00
导购id要用接口到购买shopping_guide 的id
Showing
4 changed files
with
4 additions
and
4 deletions
pages/goods/goodsInfo/goodsInfo.js
@@ -270,7 +270,7 @@ Page({ | @@ -270,7 +270,7 @@ Page({ | ||
270 | //调用接口判断是不是会员 | 270 | //调用接口判断是不是会员 |
271 | getApp().request.promiseGet("/api/weshop/shoppingGuide/get/"+os.stoid+"/"+first_leader,{}).then(res=>{ | 271 | getApp().request.promiseGet("/api/weshop/shoppingGuide/get/"+os.stoid+"/"+first_leader,{}).then(res=>{ |
272 | if(res.data.code==0){ | 272 | if(res.data.code==0){ |
273 | - getApp().globalData.guide_id=res.data.data.bind_user_id; | 273 | + getApp().globalData.guide_id=res.data.data.id; |
274 | } | 274 | } |
275 | }) | 275 | }) |
276 | } | 276 | } |
pages/goods/goodsList/goodsList.js
@@ -32,7 +32,7 @@ Page({ | @@ -32,7 +32,7 @@ Page({ | ||
32 | //调用接口判断是不是会员 | 32 | //调用接口判断是不是会员 |
33 | getApp().request.promiseGet("/api/weshop/shoppingGuide/get/"+oo.stoid+"/"+first_leader,{}).then(res=>{ | 33 | getApp().request.promiseGet("/api/weshop/shoppingGuide/get/"+oo.stoid+"/"+first_leader,{}).then(res=>{ |
34 | if(res.data.code==0){ | 34 | if(res.data.code==0){ |
35 | - getApp().globalData.guide_id=res.data.data.bind_user_id; | 35 | + getApp().globalData.guide_id=res.data.data.id; |
36 | } | 36 | } |
37 | }) | 37 | }) |
38 | } | 38 | } |
pages/goods/search/search.js
@@ -30,7 +30,7 @@ Page({ | @@ -30,7 +30,7 @@ Page({ | ||
30 | //调用接口判断是不是会员 | 30 | //调用接口判断是不是会员 |
31 | getApp().request.promiseGet("/api/weshop/shoppingGuide/get/"+oo.stoid+"/"+first_leader,{}).then(res=>{ | 31 | getApp().request.promiseGet("/api/weshop/shoppingGuide/get/"+oo.stoid+"/"+first_leader,{}).then(res=>{ |
32 | if(res.data.code==0){ | 32 | if(res.data.code==0){ |
33 | - getApp().globalData.guide_id=res.data.data.bind_user_id; | 33 | + getApp().globalData.guide_id=res.data.data.id; |
34 | } | 34 | } |
35 | }) | 35 | }) |
36 | } | 36 | } |
pages/team/team_show/team_show.js
@@ -82,7 +82,7 @@ Page({ | @@ -82,7 +82,7 @@ Page({ | ||
82 | //调用接口判断是不是会员 | 82 | //调用接口判断是不是会员 |
83 | getApp().request.promiseGet("/api/weshop/shoppingGuide/get/"+os.stoid+"/"+first_leader,{}).then(res=>{ | 83 | getApp().request.promiseGet("/api/weshop/shoppingGuide/get/"+os.stoid+"/"+first_leader,{}).then(res=>{ |
84 | if(res.data.code==0){ | 84 | if(res.data.code==0){ |
85 | - getApp().globalData.guide_id=res.data.data.bind_user_id; | 85 | + getApp().globalData.guide_id=res.data.data.id; |
86 | } | 86 | } |
87 | }) | 87 | }) |
88 | } | 88 | } |