zxhxx 3 년 전
부모
커밋
f94031ab96
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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.');