|
|
@@ -160,9 +160,9 @@ async function checkLogin(accountData) {
|
|
|
let codeStr = await tryAutoVerifyCode(base64ImgData);
|
|
|
if (codeStr) {
|
|
|
userInfo = await doLogin(phone, password, codeStr);
|
|
|
- let isNeddExplore = await checkNeedExplore(userInfo.phone, userInfo.password, userInfo.token);
|
|
|
- if (isNeddExplore) {
|
|
|
- if (userInfo) {
|
|
|
+ if (userInfo) {
|
|
|
+ let isNeddExplore = await checkNeedExplore(userInfo.phone, userInfo.password, userInfo.token);
|
|
|
+ if (isNeddExplore) {
|
|
|
let exploreData = await doExplore(userInfo.phone, userInfo.password, userInfo.token);
|
|
|
if (exploreData) {
|
|
|
isSucc = true;
|
|
|
@@ -283,6 +283,7 @@ async function getVerifyCodeImg() {
|
|
|
}
|
|
|
|
|
|
async function tryAutoVerifyCode(base64Data) {
|
|
|
+ lk.log(base64Data);
|
|
|
return doVerifyCodeBy345Api(base64Data);
|
|
|
}
|
|
|
|