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.');