This commit is contained in:
2025-08-01 17:18:08 +08:00
parent d016376687
commit ebfec84fc3
7 changed files with 564 additions and 22 deletions
+2 -1
View File
@@ -15,9 +15,10 @@ class CustomerLogic
return $res;
}
public function delete(int $id)
public function forceDelete(int $id)
{
$customer = Customer::find($id);
//强制删除
$res = $customer->forceDelete();
return $res;
}