diff --git a/store/modules/user.js b/store/modules/user.js index 8d22ce4..ca5bb57 100644 --- a/store/modules/user.js +++ b/store/modules/user.js @@ -43,7 +43,7 @@ export default { if(state.toPath == '/pages/login/login') return; // 登录 const appid = 'wxaf37fcd750cb3329' - const redirect_uri = encodeURIComponent('https://guide.sz-trip.com/pages/login/login') + const redirect_uri = encodeURIComponent('https://tourist.sz-trip.com/pages/login/login') const url = `https://open.weixin.qq.com/connect/oauth2/authorize?appid=${appid}&redirect_uri=${redirect_uri}&response_type=code&scope=snsapi_userinfo&state=STATE&connect_redirect=1#wechat_redirect`; window.location.href = url // uni.navigateTo({ diff --git a/unpackage/dist/build/web/index.html b/unpackage/dist/build/web/index.html index 0e2b5ab..b3e2b71 100644 --- a/unpackage/dist/build/web/index.html +++ b/unpackage/dist/build/web/index.html @@ -1,2 +1,2 @@