更新撤销

This commit is contained in:
yaooo 2023-11-23 17:50:35 +08:00
parent 23c2559df3
commit bde6e6608f
1 changed files with 5 additions and 0 deletions

View File

@ -240,6 +240,11 @@ class Common extends ApiController
if (empty($param['content'])) {
$this->apiError("审批意见不能为空");
}
}
if (in_array($param['check'], [3])) {
if (empty($param['content'])) {
$this->apiError("撤回理由不能为空");
}
}
$id = $param['id'];
$type = $param['type'];