后台公海列表,详情跟进、重置密码

This commit is contained in:
2025-08-13 09:16:02 +08:00
parent 9c19cca671
commit 67861532ec
10 changed files with 198 additions and 7 deletions
+7 -1
View File
@@ -13,6 +13,10 @@ class CustomerLogic
$customer->status = $status;
$res = $customer->save();
if($status == 1){
$customer->restore();
}
return $res;
}
@@ -20,7 +24,9 @@ class CustomerLogic
{
$customer = Customer::withTrashed()->find($id);
//强制删除
$res = $customer->forceDelete();
// $res = $customer->forceDelete();
$customer->status = 3;
$res = $customer->save();
return $res;
}
}