optimize
This commit is contained in:
parent
f3b15713c2
commit
074b630679
|
@ -95,7 +95,7 @@ public function addGoods(): void
|
||||||
} catch (Throwable $throwable) {
|
} catch (Throwable $throwable) {
|
||||||
\App\Models\Notice::query()->whereIn('notice_id', $noticeIds)
|
\App\Models\Notice::query()->whereIn('notice_id', $noticeIds)
|
||||||
->update(['err_message' => $throwable->getMessage()]);
|
->update(['err_message' => $throwable->getMessage()]);
|
||||||
throw new $throwable;
|
throw $throwable;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user