shawenguan 1 rok temu
rodzic
commit
355ca5e140
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      Scripts/elife/ofpayHelper.js

+ 2 - 1
Scripts/elife/ofpayHelper.js

@@ -77,7 +77,8 @@ function parseCookies(cookieString) {
 
 function parseBase64(base64Str){
     let CryptoJS = createCryptoJS();
-    return CryptoJS.enc.Base64.parse(base64Str);
+    let hexStr = CryptoJS.enc.Base64.parse(base64Str);
+    return CryptoJS.enc.Hex.parse(hexStr);
 }
 
 function parseJwt(token) {