admin workflow

main
panliang 2024-04-28 09:31:15 +08:00
parent 80b03671e8
commit 57fd08dc41
1 changed files with 3 additions and 3 deletions

View File

@ -188,9 +188,9 @@ class WorkFlowService extends BaseService
]);
$log->update(['check_status' => CheckStatus::Processing]);
// 自动审核通过
// if ($this->authCheck($check->employee, $log)) {
// return $this->check($check->employee, $log, true, ['remarks' => '自动审核通过']);
// }
if ($this->authCheck($check->employee, $log)) {
return $this->check($check->employee, $log, true, ['remarks' => '自动审核通过']);
}
} else {
// 没有审核流程了, 审核完成
return $this->success($check);