diff --git a/libs/login.js b/libs/login.js index d1dc270..01fdb25 100644 --- a/libs/login.js +++ b/libs/login.js @@ -51,15 +51,16 @@ export function toLogin(push, pathLogin) { Cache.set('login_back_url', path); // #ifdef H5 if (isWeixin()) { - if (Cache.get('WECHAT_APPID')) { - uni.navigateTo({ - url: '/pages/users/wechat_login/index', - }); - } else { - return uni.navigateTo({ - url: '/pages/users/login/login_copy' - }) - } + auth.oAuth(); + // if (Cache.get('WECHAT_APPID')) { + // uni.navigateTo({ + // url: '/pages/users/wechat_login/index', + // }); + // } else { + // return uni.navigateTo({ + // url: '/pages/users/login/login_copy' + // }) + // } } else { if (path !== pathLogin) { push ? uni.navigateTo({ diff --git a/pages/payment/get_payment.vue b/pages/payment/get_payment.vue index 8a36544..b257649 100644 --- a/pages/payment/get_payment.vue +++ b/pages/payment/get_payment.vue @@ -1,10 +1,15 @@