This commit is contained in:
2025-08-14 19:11:00 +08:00
parent 060d464f09
commit a4bc1e8e10
+3 -1
View File
@@ -560,7 +560,7 @@ class CustomerController extends BaseController
return $this->error( trans('user_none')); return $this->error( trans('user_none'));
} }
$query= Customer::whereIn('id',explode(',',$customerId)); $query= Customer::withTrashed()->whereIn('id',explode(',',$customerId));
try { try {
$customer = $query->get(); $customer = $query->get();
@@ -579,6 +579,8 @@ class CustomerController extends BaseController
$inquiryLog->save(); $inquiryLog->save();
} }
} }
$item->restore();
} }
$data = [ $data = [