From 06824cb8bf17609f742a32c32fb82d23d8c6736b Mon Sep 17 00:00:00 2001 From: shengchanzhe <179998674@qq.com> Date: Sat, 2 Sep 2023 20:43:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=90=88=E5=90=8C=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E9=94=99=E8=AF=AF=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/controller/HetongController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/controller/HetongController.php b/app/api/controller/HetongController.php index e8121888d..f44ec9302 100644 --- a/app/api/controller/HetongController.php +++ b/app/api/controller/HetongController.php @@ -26,7 +26,7 @@ class HetongController extends BaseApiController $id = Request()->get('id'); $type = Request()->get('type'); $msg='合同不存在'; - if(!empty($type)){ + if(empty($type)){ $msg='参数错误'; } if ($id && $type) {