shawenguan 2 年之前
父節點
當前提交
83f0c07adc
共有 1 個文件被更改,包括 1 次插入1 次删除
  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,