Browse Source

fix:测试

super-yimizi 1 month ago
parent
commit
c145210c7b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/common/library/easywechatPlus/WechatService.php

+ 1 - 1
application/common/library/easywechatPlus/WechatService.php

@@ -35,7 +35,7 @@ class WechatService extends EasywechatPlus
 
 
         $result = $result->getBody()->getContents();
         $result = $result->getBody()->getContents();
         // Log::write('getWxCodeUnlimited:'.$result);
         // Log::write('getWxCodeUnlimited:'.$result);
-        return  json_decode($result);
+        return  json_decode($result,true);
     }
     }
 
 
     /**
     /**