diff --git a/app/Admin/Services/WorkFlowService.php b/app/Admin/Services/WorkFlowService.php index 766f774..d5d1227 100644 --- a/app/Admin/Services/WorkFlowService.php +++ b/app/Admin/Services/WorkFlowService.php @@ -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);