2
0
mirror of https://github.com/ctrlcvs/xiaoyao-cvs-plugin.git synced 2024-12-23 03:20:52 +08:00
This commit is contained in:
Ctrlcvs 2022-10-27 12:01:15 +08:00
parent a9798bb691
commit 1b458e794d

View File

@ -106,6 +106,7 @@ export default class user {
continue; continue;
} }
message += `${forum.name}共计${res?.data?.list.length}个账号\n`; message += `${forum.name}共计${res?.data?.list.length}个账号\n`;
for (let item of res?.data?.list) { for (let item of res?.data?.list) {
let data = Object.assign({}, forum, item) let data = Object.assign({}, forum, item)
item.is_sign = true; item.is_sign = true;
@ -280,7 +281,7 @@ export default class user {
postId = post['post_id'] postId = post['post_id']
res = await this.getData("bbsPostFull", { res = await this.getData("bbsPostFull", {
postId postId
}) },false)
if (res?.message && res?.retcode == 0) { if (res?.message && res?.retcode == 0) {
trueDetail++; trueDetail++;
} }
@ -595,9 +596,9 @@ export default class user {
bbsTask = false; bbsTask = false;
} }
async bbsGeetest() { async bbsGeetest() {
let res = await this.getData('bbsGetCaptcha') let res = await this.getData('bbsGetCaptcha',false)
let challenge = res.data["challenge"] let challenge = res.data["challenge"]
res = await this.getData("bbsValidate", res.data) res = await this.getData("bbsValidate", res.data,false)
if (res?.data?.validate) { if (res?.data?.validate) {
let validate = res?.data?.validate let validate = res?.data?.validate
res = await this.getData("bbsCaptchaVerify", { res = await this.getData("bbsCaptchaVerify", {
@ -606,13 +607,13 @@ export default class user {
"geetest_seccode": validate + "|jordan", "geetest_seccode": validate + "|jordan",
"geetest_validate": validate "geetest_validate": validate
} }
}) },false)
return res["data"]["challenge"] return res["data"]["challenge"]
} }
return "" return ""
} }
async geetest(data) { async geetest(data) {
let res = await this.getData("validate", data) let res = await this.getData("validate", data,false)
if (res?.data?.validate) { if (res?.data?.validate) {
let validate = res?.data?.validate let validate = res?.data?.validate
return validate return validate
@ -703,7 +704,7 @@ export default class user {
let res = await mhyapi.getData("bbsStoken", { let res = await mhyapi.getData("bbsStoken", {
loginUid, loginUid,
loginTicket loginTicket
}) },false)
if (res?.data) { if (res?.data) {
datalist[e.uid] = { datalist[e.uid] = {
stuid: map?.get("account_id"), stuid: map?.get("account_id"),