shawenguan hai 1 ano
pai
achega
96b869199a
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      Scripts/quark/quarkHelper.js

+ 2 - 2
Scripts/quark/quarkHelper.js

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