lizhen 9 時間 前
コミット
4f37ec8f1d
1 ファイル変更3 行追加1 行削除
  1. 3 1
      extend/icbc/WebUtils.php

+ 3 - 1
extend/icbc/WebUtils.php

@@ -51,10 +51,12 @@ include_once 'IcbcConstants.php';
 
 		    $response = curl_exec($ch);
 		    $resinfo = curl_getinfo($ch);
-		    curl_close($ch);
+
 dump($response);
 dump($resinfo);
+dump(curl_error($ch));
 exit;
+            curl_close($ch);
 		    if($resinfo["http_code"] != 200){
 		    	throw new Exception("response status code is not valid. status code: ".$resinfo["http_code"]);
 		    }