Commit 8d1ea61004b156ff1bdc637794fc9bcab6a7c2f7
1 parent
a1d2c509
小程序在设置门店的bug修复
Showing
2 changed files
with
5 additions
and
2 deletions
pages/goods/goodsInfo/goodsInfo.js
| @@ -2160,6 +2160,7 @@ Page({ | @@ -2160,6 +2160,7 @@ Page({ | ||
| 2160 | 2160 | ||
| 2161 | }, | 2161 | }, |
| 2162 | 2162 | ||
| 2163 | + | ||
| 2163 | //------------处理门店--------------- | 2164 | //------------处理门店--------------- |
| 2164 | deal_pickup(e){ | 2165 | deal_pickup(e){ |
| 2165 | var th=this; | 2166 | var th=this; |
| @@ -4601,8 +4602,8 @@ Page({ | @@ -4601,8 +4602,8 @@ Page({ | ||
| 4601 | 4602 | ||
| 4602 | getApp().request.put('/api/weshop/users/update', { | 4603 | getApp().request.put('/api/weshop/users/update', { |
| 4603 | data: { | 4604 | data: { |
| 4604 | - user_id, | ||
| 4605 | - def_pickup_id | 4605 | + user_id:user_id, |
| 4606 | + def_pickup_id:def_pickup_id | ||
| 4606 | }, | 4607 | }, |
| 4607 | success: function(res) { | 4608 | success: function(res) { |
| 4608 | if (res.data.code == 0) { | 4609 | if (res.data.code == 0) { |
utils/auth.js
| @@ -48,6 +48,7 @@ module.exports = { | @@ -48,6 +48,7 @@ module.exports = { | ||
| 48 | console.log("thirdLogin"); | 48 | console.log("thirdLogin"); |
| 49 | console.log(e); | 49 | console.log(e); |
| 50 | a.request.get("/api/weshop/users/openidandkey", { | 50 | a.request.get("/api/weshop/users/openidandkey", { |
| 51 | + isShowLoading:0, | ||
| 51 | data: { | 52 | data: { |
| 52 | js_code: e, | 53 | js_code: e, |
| 53 | store_id: a.globalData.setting.stoid, | 54 | store_id: a.globalData.setting.stoid, |
| @@ -174,6 +175,7 @@ module.exports = { | @@ -174,6 +175,7 @@ module.exports = { | ||
| 174 | if (app_d.user_id != "" && app_d.user_id != null) { | 175 | if (app_d.user_id != "" && app_d.user_id != null) { |
| 175 | var ab = this.app().request; | 176 | var ab = this.app().request; |
| 176 | ab.get("/api/weshop/users/get/" + oo.stoid + "/" + app_d.user_id, { | 177 | ab.get("/api/weshop/users/get/" + oo.stoid + "/" + app_d.user_id, { |
| 178 | + isShowLoading:0, | ||
| 177 | success: function (e) { | 179 | success: function (e) { |
| 178 | app_d.userInfo = e.data.data; | 180 | app_d.userInfo = e.data.data; |
| 179 | "function" == typeof t && t(e.data.data); | 181 | "function" == typeof t && t(e.data.data); |