gogs 3 天之前
父节点
当前提交
c6023793e8
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      app/Jobs/ManDeviceJobHc.php

+ 1 - 0
app/Jobs/ManDeviceJobHc.php

@@ -136,6 +136,7 @@ class ManDeviceJobHc implements ShouldQueue
         curl_close($curl);
 
         $res = json_decode($response,true);
+        Log::channel('apiLog')->info('request-JH', ["param" =>$post,"url"=>$url,"header"=>$header,"response"=>$res]);
         if(! isset($res['status'])){//报错了
             Log::channel('apiLog')->info('hc写入数据返回错误', ["param" => $response]);
         }