mirror of
https://github.com/smallfawn/QLScriptPublic.git
synced 2025-12-17 23:35:02 +08:00
Update gqcq.js
This commit is contained in:
6
gqcq.js
6
gqcq.js
@@ -168,7 +168,7 @@ class UserInfo {
|
|||||||
// console.log(result)
|
// console.log(result)
|
||||||
if (result.errorCode == 20000) {
|
if (result.errorCode == 20000) {
|
||||||
this.box = result.data
|
this.box = result.data
|
||||||
console.log(`账号[${this.index}], 共有宝箱:${this.box.length}个!`)
|
DoubleLog(`账号[${this.index}], 共有宝箱:${this.box.length}个!`)
|
||||||
|
|
||||||
if (this.box.length > 0) {
|
if (this.box.length > 0) {
|
||||||
for (let i = 0; i < this.box.length; i++) {
|
for (let i = 0; i < this.box.length; i++) {
|
||||||
@@ -193,7 +193,7 @@ class UserInfo {
|
|||||||
let result = await httpRequest(options)
|
let result = await httpRequest(options)
|
||||||
// console.(result)
|
// console.(result)
|
||||||
if (result.errorCode == 20000) {
|
if (result.errorCode == 20000) {
|
||||||
console.log(`账号[${this.index}], 开宝箱:${result.errorMessage} ,恭喜你获得 ${result.data.medalName} 奖品为 ${result.data.medalDescription}`)
|
DoubleLog(`账号[${this.index}], 开宝箱:${result.errorMessage} ,恭喜你获得 ${result.data.medalName} 奖品为 ${result.data.medalDescription}`)
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -277,7 +277,7 @@ class UserInfo {
|
|||||||
headers: this.headersTwo,
|
headers: this.headersTwo,
|
||||||
body: "activityCode=shop-draw"
|
body: "activityCode=shop-draw"
|
||||||
}
|
}
|
||||||
console.log(options);
|
//console.log(options);
|
||||||
let result = await httpRequest(options);
|
let result = await httpRequest(options);
|
||||||
//console.log(result);
|
//console.log(result);
|
||||||
if (result.errorCode == 20000) {
|
if (result.errorCode == 20000) {
|
||||||
|
|||||||
Reference in New Issue
Block a user