no message
This commit is contained in:
@@ -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']);
|
||||
|
||||
Reference in New Issue
Block a user