Commit ab77ecadcc9d0ec08ba645ce146fc78f83009d33
1 parent
7bf27aee
分享导购是自己的优化
Showing
2 changed files
with
2 additions
and
2 deletions
packageD/pages/user/coupons/coupons.js
pages/togoin/togoin.js
... | ... | @@ -123,7 +123,7 @@ Page({ |
123 | 123 | wx.setStorageSync("userinfo",e.data.data); |
124 | 124 | |
125 | 125 | //调用接口判断是不是会员 |
126 | - app.promiseGet("/api/weshop/shoppingGuide/get/" + os.stoid + "/" + user.user_id, {}).then(res => { | |
126 | + app.promiseGet("/api/weshop/shoppingGuide/get/" + os.stoid + "/" + e.data.data.user_id, {}).then(res => { | |
127 | 127 | if (res.data.code == 0) { |
128 | 128 | getApp().globalData.guide_id = res.data.data.id; |
129 | 129 | } | ... | ... |