|
@@ -62,7 +62,7 @@ class DoorDeviceJob implements ShouldQueue
|
|
|
//输出信息 测试
|
|
|
$this->echoMessage(new ConsoleOutput());
|
|
|
}catch (\Exception $exception){
|
|
|
- file_put_contents('record_door_error.txt',date("Y-m-d H:i:s",time()).json_encode($this->data) . PHP_EOL.$exception->getMessage().PHP_EOL,8);
|
|
|
+ file_put_contents('record_door_error.txt',date("Y-m-d H:i:s",time()).json_encode($this->data) . PHP_EOL.$exception->getMessage()."line" . $exception->getLine().PHP_EOL,8);
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -510,7 +510,10 @@ class DoorDeviceJob implements ShouldQueue
|
|
|
"dynamicFormId" => $dynamicFormId,
|
|
|
"showModelId" => $showModelId
|
|
|
];
|
|
|
+ }else{
|
|
|
+ file_put_contents('record_door_result.txt',date('Y-m-d H:i:s'). PHP_EOL . "no_product" .PHP_EOL.'post'.PHP_EOL,8);
|
|
|
}
|
|
|
+
|
|
|
//组织数据------
|
|
|
file_put_contents('record_door_result.txt',date('Y-m-d H:i:s'). PHP_EOL . json_encode($post) .PHP_EOL.'post'.PHP_EOL,8);
|
|
|
|