shawenguan 1 năm trước cách đây
mục cha
commit
a3c33f2dc2
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      Scripts/elife/ofpayHelper.js

+ 2 - 2
Scripts/elife/ofpayHelper.js

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