|
|
@@ -56,7 +56,7 @@ async function getAccountInfo(cookie){
|
|
|
"platform": "pc"
|
|
|
};
|
|
|
const options = {
|
|
|
- url: "https://pan.quark.cn/account/info",
|
|
|
+ url: `https://pan.quark.cn/account/info?${magicJS.objToQueryStr(reqData)}`,
|
|
|
headers: {
|
|
|
'Origin' : `https://pan.quark.cn`,
|
|
|
'Sec-Fetch-Mode' : `cors`,
|
|
|
@@ -71,7 +71,7 @@ async function getAccountInfo(cookie){
|
|
|
'Accept-Language' : `zh-Hans-CN;q=1`,
|
|
|
'Cookie': cookie,
|
|
|
},
|
|
|
- body: `${magicJS.objToQueryStr(reqData)}`,
|
|
|
+ body: ``,
|
|
|
};
|
|
|
return await magicJS.http.get(options).then(response => {
|
|
|
try {
|