更新细节

This commit is contained in:
yaooo 2023-11-20 17:31:05 +08:00
parent 83a95c7770
commit cebe169a85
1 changed files with 3 additions and 0 deletions

View File

@ -235,6 +235,9 @@ class Common extends ApiController
}
if (!in_array($param['check'], [1, 2, 3])) {
$this->apiError("审批状态参数错误");
}
if (empty($param['content'])) {
$this->apiError("审批意见不能为空");
}
$id = $param['id'];
$type = $param['type'];