更新oa审批应用

This commit is contained in:
yaooo 2023-11-24 11:16:59 +08:00
parent 7e0062c1ae
commit f440a96b67
1 changed files with 0 additions and 3 deletions

View File

@ -40,7 +40,6 @@ class OaApprove extends ApiController
$list[$k]['create_time'] = date('Y-m-d H:i:s', $v['create_time']); $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']); $list[$k]['update_time'] = date('Y-m-d H:i:s', $v['update_time']);
} }
/*
$list[] = [ $list[] = [
"id" => 9996, "id" => 9996,
"type" => 3, "type" => 3,
@ -66,7 +65,6 @@ class OaApprove extends ApiController
"create_time" => "2022-01-10 16:21:32", "create_time" => "2022-01-10 16:21:32",
"update_time" => "2022-01-10 16:21:32" "update_time" => "2022-01-10 16:21:32"
]; ];
*/
$loginAdmin = Db::name('Admin')->where(['id' => $uid])->find(); $loginAdmin = Db::name('Admin')->where(['id' => $uid])->find();
$did = $loginAdmin['did']; $did = $loginAdmin['did'];
// 如果是人事部 // 如果是人事部
@ -85,7 +83,6 @@ class OaApprove extends ApiController
"update_time" => "2022-01-10 16:21:32" "update_time" => "2022-01-10 16:21:32"
]; ];
} }
$this->apiSuccess('获取成功', $list); $this->apiSuccess('获取成功', $list);
} }