diff --git a/app/api/controller/OaApprove.php b/app/api/controller/OaApprove.php index 37ce1ec..ecbe005 100644 --- a/app/api/controller/OaApprove.php +++ b/app/api/controller/OaApprove.php @@ -39,8 +39,13 @@ class OaApprove extends ApiController foreach($list as $k=>$v) { $list[$k]['create_time'] = date('Y-m-d H:i:s', $v['create_time']); $list[$k]['update_time'] = date('Y-m-d H:i:s', $v['update_time']); - if ($v['type'] == 6 || $v['type'] == 7) { + if ($v['type'] == 6 ) { $list[$k]['type'] = 3; + $list[$k]['id'] = 9996; + } + if ($v['type'] == 7) { + $list[$k]['type'] = 3; + $list[$k]['id'] = 9997; } } /*