yingzi 2 years ago
parent
commit
d5731a5444
1 changed files with 1 additions and 1 deletions
  1. 1 1
      library/lib/weixina.php

+ 1 - 1
library/lib/weixina.php

@@ -123,11 +123,11 @@ class weixina {
             "is_hyaline" => false,//是否透明底色
             "is_hyaline" => false,//是否透明底色
         ));
         ));
         $data = $this->Post($postData,$url);
         $data = $this->Post($postData,$url);
-        var_dump($data);
         $res = $data;
         $res = $data;
         if(empty($data)){
         if(empty($data)){
             return false;
             return false;
         }
         }
+        return $data;
         $data = json_decode($data,true);
         $data = json_decode($data,true);
         if(empty($data) || empty($data["contentType"]) || empty($data["buffer"]) || $data["errcode"]!=0){
         if(empty($data) || empty($data["contentType"]) || empty($data["buffer"]) || $data["errcode"]!=0){
             $this->error="返回参数错误".$res;
             $this->error="返回参数错误".$res;