From f3b20fdacbc7514044c1982d4fd1111c8728c811 Mon Sep 17 00:00:00 2001 From: yaooo <272523191@qq.com> Date: Fri, 24 Nov 2023 13:54:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0oa=E5=AE=A1=E6=89=B9=E5=BA=94?= =?UTF-8?q?=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/controller/OaApprove.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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; } } /*