|
@@ -265,16 +265,13 @@ App({ |
|
@@ -265,16 +265,13 @@ App({ |
265
|
return config.unionType;
|
265
|
return config.unionType;
|
266
|
},
|
266
|
},
|
267
|
getShopId() {
|
267
|
getShopId() {
|
268
|
- return this.globalData.unionShop && this.globalData.unionShop.shopId ||
|
|
|
269
|
- this._getSync('unionShop').shopId;
|
268
|
+ return this.globalData.unionShop && this.globalData.unionShop.shopId;
|
270
|
},
|
269
|
},
|
271
|
getPaymentCode() {
|
270
|
getPaymentCode() {
|
272
|
- return this.globalData.unionShop && this.globalData.unionShop.payment ||
|
|
|
273
|
- this._getSync('unionShop').payment;
|
271
|
+ return this.globalData.unionShop && this.globalData.unionShop.payment;
|
274
|
},
|
272
|
},
|
275
|
getAppType() {
|
273
|
getAppType() {
|
276
|
- return this.globalData.unionShop && this.globalData.unionShop.appType ||
|
|
|
277
|
- this._getSync('unionShop').appType;
|
274
|
+ return this.globalData.unionShop && this.globalData.unionShop.appType;
|
278
|
},
|
275
|
},
|
279
|
getAppId() {
|
276
|
getAppId() {
|
280
|
return wx.getExtConfigSync().extAppid;
|
277
|
return wx.getExtConfigSync().extAppid;
|