更新发票到账

This commit is contained in:
yaooo 2023-11-09 09:14:49 +08:00
parent d04fc8c39e
commit ed518edfc2
1 changed files with 17 additions and 1 deletions

View File

@ -46,7 +46,7 @@ class OaApprove extends ApiController
$departmentId = Db::name('Department')->where(['title' => '人事部'])->value('id');
if ($did == $departmentId) {
$list[] = [
"id" => 9999,
"id" => 9998,
"type" => 4,
"title" => "人力资源",
"name" => "renliziyuan",
@ -58,6 +58,22 @@ class OaApprove extends ApiController
"update_time" => "2022-01-10 16:21:32"
];
}
$auth = isAuthIncome($uid);
if ($auth) {
$list[] = [
"id" => 9999,
"type" => 3,
"title" => "发票到账",
"name" => "daozhang",
"icon" => "icon-daozhang",
"img" => "https://lihai001.oss-cn-chengdu.aliyuncs.com/public/kk/oa/renliziyuan.png",
"department_ids" => "",
"status" => 1,
"create_time" => "2022-01-10 16:21:32",
"update_time" => "2022-01-10 16:21:32"
];
}
$this->apiSuccess('获取成功', $list);
}