diff --git a/pages/login/login.vue b/pages/login/login.vue index 8176317..7c39b3c 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -15,7 +15,6 @@ 登陆 - {{url}}{{token}} @@ -34,7 +33,7 @@ onLoad: function(options) { let userinfo = uni.getStorageSync('userInfo_token'); this.paraString = window.location.href; - let token =this.getQueryVariable('token') + let token =decodeURIComponent(this.getQueryVariable('token')) if (!util.isNull(token) && options.tp == "hdgl") { let url = util.HOST + '/api/mobile/auth/oss-login'; this.token = token; @@ -47,9 +46,9 @@ 'tp': options.tp }, success: function(res) { - console.log(res) + console.log(!res.data.errcode) if (!res.data.errcode) { - uni.setStorageSync('userInfo_token', res); + uni.setStorageSync('userInfo_token', res.data); uni.redirectTo({ url: '/pages/index/index' }); diff --git a/unpackage/apk/com.wavenet.mainlaun_release_202207151404_1.0.3.apk b/unpackage/apk/com.wavenet.mainlaun_release_202207151404_1.0.3.apk new file mode 100644 index 0000000..feef59a Binary files /dev/null and b/unpackage/apk/com.wavenet.mainlaun_release_202207151404_1.0.3.apk differ