更新撤销
This commit is contained in:
parent
23c2559df3
commit
bde6e6608f
|
@ -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'];
|
||||
|
|
Loading…
Reference in New Issue