shawenguan 1 年之前
父节点
当前提交
96b869199a
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Scripts/quark/quarkHelper.js

+ 2 - 2
Scripts/quark/quarkHelper.js

@@ -72,7 +72,7 @@ async function getAccountInfo(cookie){
             'Cookie': cookie,
             'Content-Type': 'application/json',
         },
-        body: ``,
+        body: `${JSON.stringify(reqData)}`,
     };
     return await magicJS.http.post(options).then(response => {
         try {
@@ -161,7 +161,7 @@ async function signIn(cookie){
             'Cookie': cookie,
             'Content-Type': 'application/json',
         },
-        body: `${JSON.stringify(params)}`,
+        body: `${JSON.stringify(reqData)}`,
     };
     return await magicJS.http.post(options).then(response => {
         try {