审核优化

This commit is contained in:
2025-08-06 15:56:57 +08:00
parent b5c73e524a
commit 601936a129
2 changed files with 3 additions and 6 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ class CustomerLogic
public function forceDelete(int $id)
{
$customer = Customer::find($id);
$customer = Customer::withTrashed()->find($id);
//强制删除
$res = $customer->forceDelete();
return $res;