From b5c73e524a6df66af9bc0ccd90481500a7aa6754 Mon Sep 17 00:00:00 2001 From: "WIN-C27C5MSVTPO\\16961" <1696136552@qq.com> Date: Wed, 6 Aug 2025 15:42:01 +0800 Subject: [PATCH] 1 --- app/crmAdmin/logic/CustomerLogic.php | 1 - 1 file changed, 1 deletion(-) diff --git a/app/crmAdmin/logic/CustomerLogic.php b/app/crmAdmin/logic/CustomerLogic.php index 8169215..8f364e8 100644 --- a/app/crmAdmin/logic/CustomerLogic.php +++ b/app/crmAdmin/logic/CustomerLogic.php @@ -10,7 +10,6 @@ class CustomerLogic public function status(int $id,int $status) { $customer = Customer::withTrashed()->find($id); - $customer->restore(); $customer->status = $status; $res = $customer->save();