diff --git a/app/App.vue b/app/App.vue index 8497b2a6..c7091916 100644 --- a/app/App.vue +++ b/app/App.vue @@ -1,8 +1,13 @@ + - + \ No newline at end of file diff --git a/app/pages/users/order_confirm/index.vue b/app/pages/users/order_confirm/index.vue index 09faee3d..2af35f46 100644 --- a/app/pages/users/order_confirm/index.vue +++ b/app/pages/users/order_confirm/index.vue @@ -142,7 +142,7 @@ - + @@ -321,7 +321,13 @@ //调用子页面方法授权后执行获取地址列表 this.$nextTick(function() {}) } else { + // #ifdef H5 || APP-PLUS toLogin(); + // #endif + // #ifdef MP + this.isAuto = true; + this.$set(this, 'isShowAuth', true); + // #endif } }, /** diff --git a/app/pages/users/order_list/index.vue b/app/pages/users/order_list/index.vue index c3ab5d39..6e7de8cf 100644 --- a/app/pages/users/order_list/index.vue +++ b/app/pages/users/order_list/index.vue @@ -93,7 +93,7 @@ - + @@ -173,7 +173,13 @@ this.getOrderList(); this.getUserInfo(); } else { + // #ifdef H5 || APP-PLUS toLogin(); + // #endif + // #ifdef MP + this.isAuto = true; + this.$set(this, 'isShowAuth', true); + // #endif } }, methods: { diff --git a/app/pages/users/promoter-list/index.vue b/app/pages/users/promoter-list/index.vue index 47c8082d..13eeff3f 100644 --- a/app/pages/users/promoter-list/index.vue +++ b/app/pages/users/promoter-list/index.vue @@ -69,7 +69,7 @@ - + @@ -119,7 +119,13 @@ if (this.isLogin) { this.userSpreadNewList(); } else { + // #ifdef H5 || APP-PLUS toLogin(); + // #endif + // #ifdef MP + this.isAuto = true; + this.$set(this, 'isShowAuth', true); + // #endif } }, onShow: function() { diff --git a/app/pages/users/promoter-order/index.vue b/app/pages/users/promoter-order/index.vue index fdd36cea..4e3a0336 100644 --- a/app/pages/users/promoter-order/index.vue +++ b/app/pages/users/promoter-order/index.vue @@ -46,7 +46,7 @@ - + @@ -92,7 +92,13 @@ if (this.isLogin) { this.getRecordOrderList(); } else { + // #ifdef H5 || APP-PLUS toLogin(); + // #endif + // #ifdef MP + this.isAuto = true; + this.$set(this, 'isShowAuth', true); + // #endif } }, methods: { diff --git a/app/pages/users/promoter_rank/index.vue b/app/pages/users/promoter_rank/index.vue index 890608e1..bccfb07f 100644 --- a/app/pages/users/promoter_rank/index.vue +++ b/app/pages/users/promoter_rank/index.vue @@ -48,7 +48,7 @@ - + @@ -107,7 +107,13 @@ if (this.isLogin) { this.getRanklist(); } else { + // #ifdef H5 || APP-PLUS toLogin(); + // #endif + // #ifdef MP + this.isAuto = true; + this.$set(this, 'isShowAuth', true); + // #endif } }, // onShow: function () { diff --git a/app/pages/users/user_address/index.vue b/app/pages/users/user_address/index.vue index 671d7643..dec61e3c 100644 --- a/app/pages/users/user_address/index.vue +++ b/app/pages/users/user_address/index.vue @@ -43,7 +43,7 @@ - + @@ -131,7 +131,13 @@ // this.initialize(); // } } else { + // #ifdef H5 || APP-PLUS toLogin(); + // #endif + // #ifdef MP + this.isAuto = true; + this.$set(this, 'isShowAuth', true); + // #endif } }, methods: { diff --git a/app/pages/users/user_address_list/index.vue b/app/pages/users/user_address_list/index.vue index 85fe3976..e7753d25 100644 --- a/app/pages/users/user_address_list/index.vue +++ b/app/pages/users/user_address_list/index.vue @@ -52,7 +52,7 @@ - + @@ -122,7 +122,13 @@ this.bargain = options.bargain || false; this.getAddressList(true); } else { + // #ifdef H5 || APP-PLUS toLogin(); + // #endif + // #ifdef MP + this.isAuto = true; + this.$set(this, 'isShowAuth', true); + // #endif } }, onShow: function() { diff --git a/app/pages/users/user_bill/index.vue b/app/pages/users/user_bill/index.vue index 9ffbe236..1f00c284 100644 --- a/app/pages/users/user_bill/index.vue +++ b/app/pages/users/user_bill/index.vue @@ -31,7 +31,7 @@ - + @@ -78,7 +78,13 @@ if (this.isLogin) { this.getUserBillList(); } else { + // #ifdef H5 || APP-PLUS toLogin(); + // #endif + // #ifdef MP + this.isAuto = true; + this.$set(this, 'isShowAuth', true); + // #endif } }, /** diff --git a/app/pages/users/user_cash/index.vue b/app/pages/users/user_cash/index.vue index cabc4459..b9350535 100644 --- a/app/pages/users/user_cash/index.vue +++ b/app/pages/users/user_cash/index.vue @@ -108,7 +108,7 @@ - + @@ -182,7 +182,13 @@ this.getUserExtractBank(); //this.getBrokerageCommission(); } else { + // #ifdef H5 || APP-PLUS toLogin(); + // #endif + // #ifdef MP + this.isAuto = true; + this.$set(this, 'isShowAuth', true); + // #endif } }, methods: { diff --git a/app/pages/users/user_coupon/index.vue b/app/pages/users/user_coupon/index.vue index 8eeb34c4..776c8a4a 100644 --- a/app/pages/users/user_coupon/index.vue +++ b/app/pages/users/user_coupon/index.vue @@ -26,7 +26,7 @@ - + @@ -87,7 +87,13 @@ if (this.isLogin) { this.getUseCoupons(); } else { + // #ifdef H5 || APP-PLUS toLogin(); + // #endif + // #ifdef MP + this.isAuto = true; + this.$set(this, 'isShowAuth', true); + // #endif } }, methods: { diff --git a/app/pages/users/user_get_coupon/index.vue b/app/pages/users/user_get_coupon/index.vue index c4169e31..3e9cdb47 100644 --- a/app/pages/users/user_get_coupon/index.vue +++ b/app/pages/users/user_get_coupon/index.vue @@ -31,7 +31,7 @@ - + @@ -83,7 +83,13 @@ if(this.isLogin){ this.getUseCoupons(); }else{ + // #ifdef H5 || APP-PLUS toLogin(); + // #endif + // #ifdef MP + this.isAuto = true; + this.$set(this, 'isShowAuth', true); + // #endif } }, /** diff --git a/app/pages/users/user_goods_collection/index.vue b/app/pages/users/user_goods_collection/index.vue index 2bc6f78c..455385fe 100644 --- a/app/pages/users/user_goods_collection/index.vue +++ b/app/pages/users/user_goods_collection/index.vue @@ -25,7 +25,7 @@ - + @@ -81,7 +81,13 @@ this.get_user_collect_product(); this.get_host_product(); } else { + // #ifdef H5 || APP-PLUS toLogin(); + // #endif + // #ifdef MP + this.isAuto = true; + this.$set(this, 'isShowAuth', true); + // #endif } }, onShow(){ diff --git a/app/pages/users/user_info/index.vue b/app/pages/users/user_info/index.vue index 56f57d96..96393ebc 100644 --- a/app/pages/users/user_info/index.vue +++ b/app/pages/users/user_info/index.vue @@ -59,7 +59,7 @@ - + @@ -113,7 +113,13 @@ if (this.isLogin) { this.getUserInfo(); } else { + // #ifdef H5 || APP-PLUS toLogin(); + // #endif + // #ifdef MP + this.isAuto = true; + this.$set(this, 'isShowAuth', true); + // #endif } }, methods: { diff --git a/app/pages/users/user_integral/index.vue b/app/pages/users/user_integral/index.vue index c47044ae..08b95c90 100644 --- a/app/pages/users/user_integral/index.vue +++ b/app/pages/users/user_integral/index.vue @@ -61,7 +61,7 @@ - + @@ -125,7 +125,13 @@ this.getUserInfo(); this.getIntegralList(); } else { + // #ifdef H5 || APP-PLUS toLogin(); + // #endif + // #ifdef MP + this.isAuto = true; + this.$set(this, 'isShowAuth', true); + // #endif } }, /** diff --git a/app/pages/users/user_money/index.vue b/app/pages/users/user_money/index.vue index f48ca8fd..62cc9e15 100644 --- a/app/pages/users/user_money/index.vue +++ b/app/pages/users/user_money/index.vue @@ -121,7 +121,7 @@ - + @@ -194,7 +194,13 @@ this.get_activity(); this.userDalance(); } else { + // #ifdef H5 || APP-PLUS toLogin(); + // #endif + // #ifdef MP + this.isAuto = true; + this.$set(this, 'isShowAuth', true); + // #endif } }, methods: { diff --git a/app/pages/users/user_payment/index.vue b/app/pages/users/user_payment/index.vue index c545dfe5..d5bd984e 100644 --- a/app/pages/users/user_payment/index.vue +++ b/app/pages/users/user_payment/index.vue @@ -47,7 +47,7 @@ - + @@ -123,7 +123,13 @@ this.getRecharge(); this.getUserExtractBank(); } else { + // #ifdef H5 || APP-PLUS toLogin(); + // #endif + // #ifdef MP + this.isAuto = true; + this.$set(this, 'isShowAuth', true); + // #endif } }, methods: { diff --git a/app/pages/users/user_phone/index.vue b/app/pages/users/user_phone/index.vue index e330bd74..d0931630 100644 --- a/app/pages/users/user_phone/index.vue +++ b/app/pages/users/user_phone/index.vue @@ -19,7 +19,7 @@ - + @@ -71,7 +71,13 @@ // this.$set(this, 'key', res.data.key) // }); } else { + // #ifdef H5 || APP-PLUS toLogin(); + // #endif + // #ifdef MP + this.isAuto = true; + this.$set(this, 'isShowAuth', true); + // #endif } }, methods: { diff --git a/app/pages/users/user_pwd_edit/index.vue b/app/pages/users/user_pwd_edit/index.vue index 68cafe2a..38a83f60 100644 --- a/app/pages/users/user_pwd_edit/index.vue +++ b/app/pages/users/user_pwd_edit/index.vue @@ -21,7 +21,7 @@ - + @@ -77,7 +77,13 @@ if (this.isLogin) { this.getUserInfo(); } else { + // #ifdef H5 || APP-PLUS toLogin(); + // #endif + // #ifdef MP + this.isAuto = true; + this.$set(this, 'isShowAuth', true); + // #endif } }, methods: { diff --git a/app/pages/users/user_return_list/index.vue b/app/pages/users/user_return_list/index.vue index 2f48e8e9..15c073fd 100644 --- a/app/pages/users/user_return_list/index.vue +++ b/app/pages/users/user_return_list/index.vue @@ -26,7 +26,7 @@ {{loadTitle}} - + @@ -81,7 +81,13 @@ if (this.isLogin) { this.getOrderList(); } else { + // #ifdef H5 || APP-PLUS toLogin(); + // #endif + // #ifdef MP + this.isAuto = true; + this.$set(this, 'isShowAuth', true); + // #endif } }, /** diff --git a/app/pages/users/user_sgin/index.vue b/app/pages/users/user_sgin/index.vue index d89e2a2a..6112563a 100644 --- a/app/pages/users/user_sgin/index.vue +++ b/app/pages/users/user_sgin/index.vue @@ -65,7 +65,7 @@ - + @@ -128,7 +128,13 @@ this.getSignSysteam(); this.getSignList(); } else { + // #ifdef H5 || APP-PLUS toLogin(); + // #endif + // #ifdef MP + this.isAuto = true; + this.$set(this, 'isShowAuth', true); + // #endif } }, methods: { diff --git a/app/pages/users/user_sgin_list/index.vue b/app/pages/users/user_sgin_list/index.vue index 4214bdb8..125a1e92 100644 --- a/app/pages/users/user_sgin_list/index.vue +++ b/app/pages/users/user_sgin_list/index.vue @@ -20,7 +20,7 @@ - + @@ -65,7 +65,13 @@ if(this.isLogin){ this.getSignMoneList(); }else{ + // #ifdef H5 || APP-PLUS toLogin(); + // #endif + // #ifdef MP + this.isAuto = true; + this.$set(this, 'isShowAuth', true); + // #endif } }, onReachBottom: function () { diff --git a/app/pages/users/user_spread_code/index.vue b/app/pages/users/user_spread_code/index.vue index e7f56694..68291a8e 100644 --- a/app/pages/users/user_spread_code/index.vue +++ b/app/pages/users/user_spread_code/index.vue @@ -21,7 +21,7 @@ - + @@ -99,7 +99,13 @@ this.userSpreadBannerList(); // // #endif } else { + // #ifdef H5 || APP-PLUS toLogin(); + // #endif + // #ifdef MP + this.isAuto = true; + this.$set(this, 'isShowAuth', true); + // #endif } }, /** diff --git a/app/pages/users/user_spread_money/index.vue b/app/pages/users/user_spread_money/index.vue index b71d276f..f40cae30 100644 --- a/app/pages/users/user_spread_money/index.vue +++ b/app/pages/users/user_spread_money/index.vue @@ -61,7 +61,7 @@ - + @@ -113,7 +113,13 @@ if (this.isLogin) { this.type = options.type; } else { + // #ifdef H5 || APP-PLUS toLogin(); + // #endif + // #ifdef MP + this.isAuto = true; + this.$set(this, 'isShowAuth', true); + // #endif } }, onShow: function() { diff --git a/app/pages/users/user_spread_user/index.vue b/app/pages/users/user_spread_user/index.vue index aec204df..d3da1f19 100644 --- a/app/pages/users/user_spread_user/index.vue +++ b/app/pages/users/user_spread_user/index.vue @@ -52,7 +52,7 @@ - + @@ -100,7 +100,13 @@ if (this.isLogin) { this.getSpreadInfo(); } else { + // #ifdef H5 || APP-PLUS toLogin(); + // #endif + // #ifdef MP + this.isAuto = true; + this.$set(this, 'isShowAuth', true); + // #endif } }, methods: { diff --git a/app/pages/users/wechat_login/index.vue b/app/pages/users/wechat_login/index.vue index fac04bb4..4a4a6d24 100644 --- a/app/pages/users/wechat_login/index.vue +++ b/app/pages/users/wechat_login/index.vue @@ -21,7 +21,7 @@ - + @@ -238,25 +238,6 @@ }) }); }, - getUserProfile() { - let self = this; - uni.showLoading({ - title: '正在登录中' - }); - Routine.getUserProfile() - .then(res => { - Routine.getCode() - .then(code => { - self.getWxUser(code, res); - }) - .catch(res => { - uni.hideLoading(); - }); - }) - .catch(res => { - uni.hideLoading(); - }); - }, setUserInfo(e) { uni.showLoading({ title: '正在登录中' @@ -269,49 +250,57 @@ uni.hideLoading(); }); }, - getWxUser(code, res) { - let self = this - let userInfo = res.userInfo; - userInfo.code = code; - userInfo.spread_spid = app.globalData.spid; //获取推广人ID - userInfo.spread_code = app.globalData.code; //获取推广人分享二维码ID - userInfo.avatar = userInfo.userInfo.avatarUrl; - userInfo.city = userInfo.userInfo.city; - userInfo.country = userInfo.userInfo.country; - userInfo.nickName = userInfo.userInfo.nickName; - userInfo.province = userInfo.userInfo.province; - userInfo.sex = userInfo.userInfo.gender; - userInfo.type = 'routine' - Routine.authUserInfo(userInfo.code, userInfo) - .then(res => { - self.authKey = res.data.key; - if (res.data.type === 'register') { + getWxUser(code) { + let self = this + Routine.getUserInfo() + .then(res => { + console.log('res1',res); + let userInfo = res.userInfo; + userInfo.code = code; + userInfo.spread_spid = app.globalData.spid;//获取推广人ID + userInfo.spread_code = app.globalData.code;//获取推广人分享二维码ID + userInfo.avatar = userInfo.userInfo.avatarUrl; + userInfo.city = userInfo.userInfo.city; + userInfo.country = userInfo.userInfo.country; + userInfo.nickName = userInfo.userInfo.nickName; + userInfo.province = userInfo.userInfo.province; + userInfo.sex = userInfo.userInfo.gender; + userInfo.type = 'routine' + Routine.authUserInfo(userInfo.code, userInfo) + .then(res => { + console.log(res) + self.authKey = res.data.key; + if (res.data.type === 'register') { + uni.hideLoading(); + self.isPhoneBox = true + } else { + uni.hideLoading(); + let time = res.data.expires_time - self.$Cache.time(); + self.$store.commit('LOGIN', { + token: res.data.token, + time: time + }); + self.$util.Tips({ + title: res, + icon: 'success' + }, { + tab: 3 + }) + } + }) + .catch(res => { + uni.hideLoading(); + uni.showToast({ + title: res, + icon: 'none', + duration: 2000 + }); + }); + }) + .catch(res => { uni.hideLoading(); - self.isPhoneBox = true - } - if (res.data.type === 'login') { - uni.hideLoading(); - self.$store.commit('LOGIN', { - token: res.data.token - }); - self.$util.Tips({ - title: res, - icon: 'success' - }, { - tab: 3 - }) - } - }) - .catch(res => { - uni.hideLoading(); - uni.showToast({ - title: res, - icon: 'none', - duration: 2000 }); - }); - - }, + }, // #endif diff --git a/app/static/images/accountBg.png b/app/static/images/accountBg.png index 5040fd46..0299e577 100644 Binary files a/app/static/images/accountBg.png and b/app/static/images/accountBg.png differ diff --git a/app/static/images/bargainBg.jpg b/app/static/images/bargainBg.jpg index c35ee2a8..e47be569 100644 Binary files a/app/static/images/bargainBg.jpg and b/app/static/images/bargainBg.jpg differ diff --git a/app/static/images/canbj.png b/app/static/images/canbj.png index c9883053..c53084c4 100644 Binary files a/app/static/images/canbj.png and b/app/static/images/canbj.png differ diff --git a/app/static/images/empty-box.png b/app/static/images/empty-box.png index 167b83a4..e2343bad 100644 Binary files a/app/static/images/empty-box.png and b/app/static/images/empty-box.png differ diff --git a/app/static/images/examine.png b/app/static/images/examine.png index ec8a0fc5..d43e7f9c 100644 Binary files a/app/static/images/examine.png and b/app/static/images/examine.png differ diff --git a/app/static/images/explosion-title.png b/app/static/images/explosion-title.png index 860299a6..4df6b746 100644 Binary files a/app/static/images/explosion-title.png and b/app/static/images/explosion-title.png differ diff --git a/app/static/images/explosion.png b/app/static/images/explosion.png index a9c46b0a..9aef3136 100644 Binary files a/app/static/images/explosion.png and b/app/static/images/explosion.png differ diff --git a/app/static/images/f.png b/app/static/images/f.png index bc4802a5..3c18c6a5 100644 Binary files a/app/static/images/f.png and b/app/static/images/f.png differ diff --git a/app/static/images/face.png b/app/static/images/face.png index 0f132ad6..2f6a2ff0 100644 Binary files a/app/static/images/face.png and b/app/static/images/face.png differ diff --git a/app/static/images/gift.png b/app/static/images/gift.png index 2df647ed..2f1e984c 100644 Binary files a/app/static/images/gift.png and b/app/static/images/gift.png differ diff --git a/app/static/images/keyboard.png b/app/static/images/keyboard.png index 9e40dc01..9841f234 100644 Binary files a/app/static/images/keyboard.png and b/app/static/images/keyboard.png differ diff --git a/app/static/images/line.jpg b/app/static/images/line.jpg index 54097a12..1640f55c 100644 Binary files a/app/static/images/line.jpg and b/app/static/images/line.jpg differ diff --git a/app/static/images/logo2.png b/app/static/images/logo2.png index 36046f74..cec5dd39 100644 Binary files a/app/static/images/logo2.png and b/app/static/images/logo2.png differ diff --git a/app/static/images/money.png b/app/static/images/money.png index 6fa73ee5..9d8aa075 100644 Binary files a/app/static/images/money.png and b/app/static/images/money.png differ diff --git a/app/static/images/noAddress.png b/app/static/images/noAddress.png index edf1191d..19cc300e 100644 Binary files a/app/static/images/noAddress.png and b/app/static/images/noAddress.png differ diff --git a/app/static/images/noCart.png b/app/static/images/noCart.png index fab3244f..1a8abde0 100644 Binary files a/app/static/images/noCart.png and b/app/static/images/noCart.png differ diff --git a/app/static/images/noCoupon.png b/app/static/images/noCoupon.png index 3922e37a..f334e44d 100644 Binary files a/app/static/images/noCoupon.png and b/app/static/images/noCoupon.png differ diff --git a/app/static/images/noNews.png b/app/static/images/noNews.png index 8f83e0ed..88b8f117 100644 Binary files a/app/static/images/noNews.png and b/app/static/images/noNews.png differ diff --git a/app/static/images/noOrder.png b/app/static/images/noOrder.png index 2ae122e2..ab0c123e 100644 Binary files a/app/static/images/noOrder.png and b/app/static/images/noOrder.png differ diff --git a/app/static/images/noShopper.png b/app/static/images/noShopper.png index 07aa1fc8..f618c972 100644 Binary files a/app/static/images/noShopper.png and b/app/static/images/noShopper.png differ diff --git a/app/static/images/orderTime.png b/app/static/images/orderTime.png index 647feb25..681c7352 100644 Binary files a/app/static/images/orderTime.png and b/app/static/images/orderTime.png differ diff --git a/app/static/images/posterbackgd.png b/app/static/images/posterbackgd.png index c553fd1b..0710edf6 100644 Binary files a/app/static/images/posterbackgd.png and b/app/static/images/posterbackgd.png differ diff --git a/app/static/images/priceTag.png b/app/static/images/priceTag.png index 658455b7..1472091d 100644 Binary files a/app/static/images/priceTag.png and b/app/static/images/priceTag.png differ diff --git a/app/static/images/red-packets.png b/app/static/images/red-packets.png index 340217df..436ab766 100644 Binary files a/app/static/images/red-packets.png and b/app/static/images/red-packets.png differ diff --git a/app/static/images/score.png b/app/static/images/score.png index a6d46ecf..b785d9ff 100644 Binary files a/app/static/images/score.png and b/app/static/images/score.png differ diff --git a/app/static/images/sh.png b/app/static/images/sh.png index 5285a3e3..3d92d776 100644 Binary files a/app/static/images/sh.png and b/app/static/images/sh.png differ diff --git a/app/static/images/share-info.png b/app/static/images/share-info.png index c6824d89..dd001cb9 100644 Binary files a/app/static/images/share-info.png and b/app/static/images/share-info.png differ diff --git a/app/static/images/stars1.png b/app/static/images/stars1.png index e99e709b..b2f620c4 100644 Binary files a/app/static/images/stars1.png and b/app/static/images/stars1.png differ diff --git a/app/static/images/stars3.png b/app/static/images/stars3.png index 21921f2b..9e72c5f8 100644 Binary files a/app/static/images/stars3.png and b/app/static/images/stars3.png differ diff --git a/app/static/images/stop.png b/app/static/images/stop.png index a7b944fa..6cd5b024 100644 Binary files a/app/static/images/stop.png and b/app/static/images/stop.png differ diff --git a/app/static/images/support.png b/app/static/images/support.png index e3099761..b562a152 100644 Binary files a/app/static/images/support.png and b/app/static/images/support.png differ diff --git a/app/static/images/three.png b/app/static/images/three.png index 5dccbe51..8eee090c 100644 Binary files a/app/static/images/three.png and b/app/static/images/three.png differ diff --git a/app/static/images/user_bg.png b/app/static/images/user_bg.png index 68c7342a..9d326555 100644 Binary files a/app/static/images/user_bg.png and b/app/static/images/user_bg.png differ diff --git a/app/static/images/vacancy.png b/app/static/images/vacancy.png index fef8aff3..0cf3ffe5 100644 Binary files a/app/static/images/vacancy.png and b/app/static/images/vacancy.png differ diff --git a/app/static/images/value.jpg b/app/static/images/value.jpg index 0079ee5f..32d4ab85 100644 Binary files a/app/static/images/value.jpg and b/app/static/images/value.jpg differ diff --git a/app/static/images/writeOff.jpg b/app/static/images/writeOff.jpg index 867ebf4f..6045cf67 100644 Binary files a/app/static/images/writeOff.jpg and b/app/static/images/writeOff.jpg differ diff --git a/app/utils/request.js b/app/utils/request.js index f369e7f8..77d76866 100644 --- a/app/utils/request.js +++ b/app/utils/request.js @@ -22,6 +22,7 @@ function baseRequest(url, method, data, { if (params != undefined) { header = HEADERPARAMS; } + console.log('Url:',Url); if (!noAuth) { //登录过期自动登录 if (!store.state.app.token && !checkLogin()) {