mirror of
https://github.com/smallfawn/QLScriptPublic.git
synced 2026-01-13 05:20:43 +08:00
Update ddsy_songyao.js
fix http params issue
This commit is contained in:
parent
1924bc370f
commit
bc1989b3c5
@ -17,10 +17,12 @@ let userList = [];
|
|||||||
class UserInfo {
|
class UserInfo {
|
||||||
constructor(str) {
|
constructor(str) {
|
||||||
this.index = ++userIdx;
|
this.index = ++userIdx;
|
||||||
this.token = str.split(strSplitor)[0]; //单账号多变量分隔符
|
this.token = (str.split(strSplitor)[0]).split('=')[1]; //单账号多变量分隔符
|
||||||
this.ckStatus = true;
|
this.ckStatus = true;
|
||||||
this.userId = str.split(strSplitor)[1];
|
this.userId = (str.split(strSplitor)[1]).split('=')[1];
|
||||||
this.uDate = str.split(strSplitor)[2];
|
this.uDate = (str.split(strSplitor)[2]).split('=')[1];
|
||||||
|
console.log('uDate is:' + this.uDate);
|
||||||
|
console.log('userId is:' + this.userId);
|
||||||
}
|
}
|
||||||
async main() {
|
async main() {
|
||||||
await this.getSignInId()
|
await this.getSignInId()
|
||||||
@ -70,7 +72,8 @@ class UserInfo {
|
|||||||
headers: {},
|
headers: {},
|
||||||
},
|
},
|
||||||
result = await httpRequest(options);
|
result = await httpRequest(options);
|
||||||
//console.log(options);
|
console.log(options);
|
||||||
|
console.log(result);
|
||||||
result = result.replace(`Zepto${callbackStr}`, "")
|
result = result.replace(`Zepto${callbackStr}`, "")
|
||||||
result = result.replaceAll("(", "")
|
result = result.replaceAll("(", "")
|
||||||
result = result.replaceAll(")", "")
|
result = result.replaceAll(")", "")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user