zxhxx 3 năm trước cách đây
mục cha
commit
0b2012d709
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      vendor/overtrue/wechat/src/MiniProgram/Encryptor.php

+ 1 - 1
vendor/overtrue/wechat/src/MiniProgram/Encryptor.php

@@ -35,7 +35,7 @@ class Encryptor extends BaseEncryptor
             base64_decode($iv, false)
         );
 
-        //$decrypted = json_decode($decrypted, true);
+        $decrypted = json_decode($decrypted, true);
 
         if (!$decrypted) {
             throw new DecryptException('The given payload is invalid.');