更新细节

This commit is contained in:
yaooo 2023-11-01 16:29:09 +08:00
parent a5d6866a2e
commit 29365ea1aa
1 changed files with 3 additions and 0 deletions

View File

@ -157,6 +157,9 @@ class OaApprove extends ApiController
$param = get_params();
if (empty($param['flow_id'])) {
$this->apiError("审批流程id不能为空");
}
if (empty($param['type'])) {
$this->apiError("审批流程类型不能为空");
}
if (isset($param['detail_time'])) {
$param['detail_time'] = strtotime($param['detail_time']);