From f16b690e229ac1d0a1874d505fa7c77da4bdc596 Mon Sep 17 00:00:00 2001 From: zcstatham <578322713@qq.com> Date: Mon, 5 Sep 2022 22:27:47 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BD=A6=E6=9E=B6=E9=87=8D=E5=A4=8D=E5=A4=84?= =?UTF-8?q?=E7=90=86=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extend/service/CarInfoHandle.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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++; }