From 4b15f84d717f33da547606b1f800b1a53ce7406b Mon Sep 17 00:00:00 2001 From: zcstatham <578322713@qq.com> Date: Mon, 29 Aug 2022 22:58:33 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E5=A4=8D=E6=95=B0=E6=8D=AE=E5=AF=BC?= =?UTF-8?q?=E5=87=BA=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/Task.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controller/Task.php b/app/controller/Task.php index fc26caf..3bba496 100644 --- a/app/controller/Task.php +++ b/app/controller/Task.php @@ -140,7 +140,7 @@ class Task extends BaseController $this->json_data['msg'] = '导出类型错误,请选择正确的导出类型'; return json($this->json_data); } else if ($type == 2) { - if(trim($params['export_limit']) === ''){ + if(trim($params['export_limit'] . '') === ''){ $this->json_data['code'] = 0; $this->json_data['msg'] = '导出数量必填'; return json($this->json_data);