|
|
@@ -75,13 +75,6 @@ function _toLogin(push, pathLogin) {
|
|
|
} else {
|
|
|
urlData += '?go_longin=1';
|
|
|
}
|
|
|
- // if (!Cache.has('snsapiKey')) {
|
|
|
- // auth.oAuth('snsapi_base', urlData);
|
|
|
- // } else {
|
|
|
- // uni.navigateTo({
|
|
|
- // url: '/pages/users/wechat_login/index',
|
|
|
- // });
|
|
|
- // }
|
|
|
uni.navigateTo({
|
|
|
url: '/pages/users/wechat_login/index',
|
|
|
});
|
|
|
@@ -97,16 +90,6 @@ function _toLogin(push, pathLogin) {
|
|
|
uni.navigateTo({
|
|
|
url: '/pages/users/wechat_login/index'
|
|
|
})
|
|
|
- // Routine.getCode()
|
|
|
- // .then(code => {
|
|
|
- // console.log(code)
|
|
|
- // Routine.silenceAuth(code).then(res => {
|
|
|
- // console.log(res)
|
|
|
- // })
|
|
|
- // })
|
|
|
- // .catch(err => {
|
|
|
- // uni.hideLoading();
|
|
|
- // });
|
|
|
// #endif
|
|
|
|
|
|
// #ifdef APP-PLUS
|