diff --git a/app/api/controller/Common.php b/app/api/controller/Common.php index 74c5c63..e13f36e 100644 --- a/app/api/controller/Common.php +++ b/app/api/controller/Common.php @@ -241,7 +241,7 @@ class Common extends ApiController $this->apiError("审批意见不能为空"); } } - if (in_array($param['check'], [3])) { + if ($param['check'] == 3) { if (empty($param['content'])) { $this->apiError("撤回理由不能为空"); }