更新合同参数错误问题

This commit is contained in:
shengchanzhe 2023-09-02 20:43:33 +08:00
parent 959b241975
commit 06824cb8bf

View File

@ -26,7 +26,7 @@ class HetongController extends BaseApiController
$id = Request()->get('id'); $id = Request()->get('id');
$type = Request()->get('type'); $type = Request()->get('type');
$msg='合同不存在'; $msg='合同不存在';
if(!empty($type)){ if(empty($type)){
$msg='参数错误'; $msg='参数错误';
} }
if ($id && $type) { if ($id && $type) {