Commit 55cc38214f7edba3e241bb357afc23762a35da5a
1 parent
006b4862
物流缓存
Showing
1 changed file
with
4 additions
and
4 deletions
app.js
| @@ -275,8 +275,8 @@ App({ | @@ -275,8 +275,8 @@ App({ | ||
| 275 | getwuliu: function (t, o){ | 275 | getwuliu: function (t, o){ |
| 276 | this.globalData.wuliu=null; | 276 | this.globalData.wuliu=null; |
| 277 | var th = this, st = this.globalData.setting; | 277 | var th = this, st = this.globalData.setting; |
| 278 | - this.globalData.wuliu && !o ? | ||
| 279 | - "function" == typeof t && t(this.globalData.wuliu) : a.get("/api/weshop/storeshipping/list", { | 278 | + //获取物流不缓存 |
| 279 | + a.get("/api/weshop/storeshipping/list", { | ||
| 280 | data: { store_id: st.stoid, status: 1, pageSize:600 }, | 280 | data: { store_id: st.stoid, status: 1, pageSize:600 }, |
| 281 | success: function (o) { | 281 | success: function (o) { |
| 282 | console.log('getwuliu'); | 282 | console.log('getwuliu'); |
| @@ -296,8 +296,8 @@ App({ | @@ -296,8 +296,8 @@ App({ | ||
| 296 | //----------------获取物流价格表-------------------- | 296 | //----------------获取物流价格表-------------------- |
| 297 | getwuliuprice: function (t, o) { | 297 | getwuliuprice: function (t, o) { |
| 298 | var e = this,th=e, st = this.globalData.setting; | 298 | var e = this,th=e, st = this.globalData.setting; |
| 299 | - this.globalData.wuliuprice && !o ? | ||
| 300 | - "function" == typeof t && t(this.globalData.wuliuprice) : a.get("/api/weshop/shippingarea/list",{ | 299 | + //获取物流不缓存 |
| 300 | + a.get("/api/weshop/shippingarea/list",{ | ||
| 301 | data: { store_id: st.stoid,pageSize: 600 }, | 301 | data: { store_id: st.stoid,pageSize: 600 }, |
| 302 | success: function (o) { | 302 | success: function (o) { |
| 303 | console.log('getwuliuprice'); | 303 | console.log('getwuliuprice'); |