From 02a66d3e68918c765dc544c322f94fc52e4fdd8e Mon Sep 17 00:00:00 2001 From: "WIN-C27C5MSVTPO\\16961" <1696136552@qq.com> Date: Tue, 5 Aug 2025 15:44:18 +0800 Subject: [PATCH] no message --- app/crmAdmin/controller/CustomerController.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/crmAdmin/controller/CustomerController.php b/app/crmAdmin/controller/CustomerController.php index ba2d213..d08efbf 100644 --- a/app/crmAdmin/controller/CustomerController.php +++ b/app/crmAdmin/controller/CustomerController.php @@ -49,6 +49,9 @@ class CustomerController extends BaseController $param = $request->all(); // $corp = Corp::where(['abbr' => $request->basic_data['corp_abbr']])->first(); // $param['corp_abbr'] = $corp->id; + if(empty($param['user_id']) && empty($param['tag_id'])){ + return $this->error('请勿一次性下载所有数据,请筛选后下载需要的数据'); + } $result = (new CustomerService())->export($param); $excelContent = file_get_contents($result['filepath']);