审核优化
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user