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 {