更新细节
This commit is contained in:
parent
a5d6866a2e
commit
29365ea1aa
|
@ -157,6 +157,9 @@ class OaApprove extends ApiController
|
||||||
$param = get_params();
|
$param = get_params();
|
||||||
if (empty($param['flow_id'])) {
|
if (empty($param['flow_id'])) {
|
||||||
$this->apiError("审批流程id不能为空");
|
$this->apiError("审批流程id不能为空");
|
||||||
|
}
|
||||||
|
if (empty($param['type'])) {
|
||||||
|
$this->apiError("审批流程类型不能为空");
|
||||||
}
|
}
|
||||||
if (isset($param['detail_time'])) {
|
if (isset($param['detail_time'])) {
|
||||||
$param['detail_time'] = strtotime($param['detail_time']);
|
$param['detail_time'] = strtotime($param['detail_time']);
|
||||||
|
|
Loading…
Reference in New Issue