shawenguan 2 years ago
parent
commit
83f0c07adc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Scripts/gandart/gandartPay.js

+ 1 - 1
Scripts/gandart/gandartPay.js

@@ -400,7 +400,7 @@ async function confirmPassword(accountPassword) {
         try {
             const headers = GCommonGandartHeads;
             headers.Host = "api.gandart.com";
-            const body = `accountPassword=${accountPassword}`;
+            const body = `accountPassword=${encodeURIComponent(accountPassword)}`;
             let url = {
                 url: `${config.BASE_API}/user/confirmPassword`,
                 headers: headers,