更新细节

This commit is contained in:
yaooo 2023-11-20 11:48:48 +08:00
parent 03433f4a5d
commit fd075dba02
1 changed files with 3 additions and 0 deletions

View File

@ -613,6 +613,9 @@ class Common extends ApiController
}
if (empty($param['type'])) {
$this->apiError("审批流程type不能为空");
}
if (!in_array($param['type'], [1, 2, 3])) {
$this->apiError("审批流程type错误");
}
$id = $param['id'];
$type = $param['type'];