diff --git a/extend/service/CarInfoHandle.php b/extend/service/CarInfoHandle.php index 43797e6..aee8371 100644 --- a/extend/service/CarInfoHandle.php +++ b/extend/service/CarInfoHandle.php @@ -389,7 +389,6 @@ class CarInfoHandle CarInfoT::where('id', $source_a['id'])->update($source_a); $this->repeatDataHandle($source, $id, 'frame'); $delete_num ++; - CarInfoT::destroy($source['id']); unset($sources[$index]); } } @@ -400,7 +399,7 @@ class CarInfoHandle } catch (\Exception $e) { $faild_num++; Db::rollback(); - Log::record($e->getTraceAsString(), 'error'); + Log::record($e->getMessage(), 'error'); } $current++; }