|
|
@@ -116,10 +116,8 @@ function handleUserInfo() {
|
|
|
|
|
|
|
|
|
async function all() {
|
|
|
- let isShowMsg = await allAccountExplore();
|
|
|
- if (isShowMsg) {
|
|
|
- lk.msg(``);
|
|
|
- }
|
|
|
+ await allAccountExplore();
|
|
|
+ lk.msg(``);
|
|
|
lk.done();
|
|
|
}
|
|
|
|
|
|
@@ -154,6 +152,7 @@ async function allAccountExplore() {
|
|
|
}
|
|
|
break;
|
|
|
}
|
|
|
+ return succCnt;
|
|
|
}
|
|
|
|
|
|
async function checkExploreOne(accountData) {
|
|
|
@@ -690,6 +689,7 @@ async function doExplore(phone, password, token) {
|
|
|
if (info.code == 1 && info.data) {
|
|
|
let userInfo = info.data.user_info;
|
|
|
setPrivData(userInfo.phone, 'UserData', userInfo);
|
|
|
+ lk.log(`探索成功`);
|
|
|
lk.appendNotifyInfo(`🎉账号[${phone}]探索成功`);
|
|
|
ret = userInfo;
|
|
|
} else {
|
|
|
@@ -740,24 +740,24 @@ async function getParadropData(phone, password, token) {
|
|
|
headers: headers,
|
|
|
body: payLoad,
|
|
|
};
|
|
|
- lk.log(`请求空投数据:${phone}`);
|
|
|
+ lk.log(`请求首页数据:${phone}`);
|
|
|
lk.post(url, async (error, _response, data) => {
|
|
|
let ret;
|
|
|
try {
|
|
|
if (error) {
|
|
|
- lk.log(`获取空投数据发生错误`);
|
|
|
+ lk.log(`获取首页数据发生错误`);
|
|
|
lk.execFail();
|
|
|
} else {
|
|
|
let info = JSON.parse(data);
|
|
|
if (info && info.code == 1 && info.data) {
|
|
|
- lk.log(`获取空投数据成功`);
|
|
|
+ lk.log(`获取首页数据成功`);
|
|
|
} else {
|
|
|
- lk.log(`获取空投数据失败,响应:${data}`);
|
|
|
+ lk.log(`获取首页数据失败,响应:${data}`);
|
|
|
}
|
|
|
ret = info;
|
|
|
}
|
|
|
} catch (e) {
|
|
|
- lk.log(`获取空投数据发生错误`);
|
|
|
+ lk.log(`获取首页数据发生错误`);
|
|
|
lk.logErr(e);
|
|
|
lk.execFail();
|
|
|
} finally {
|
|
|
@@ -765,7 +765,7 @@ async function getParadropData(phone, password, token) {
|
|
|
}
|
|
|
});
|
|
|
} catch (e) {
|
|
|
- lk.log(`获取空投数据发生错误`);
|
|
|
+ lk.log(`获取首页数据发生错误`);
|
|
|
lk.logErr(e);
|
|
|
resolve();
|
|
|
}
|