From 57fd08dc41067851c04ba09738457edde1fda7c9 Mon Sep 17 00:00:00 2001 From: panliang <1163816051@qq.com> Date: Sun, 28 Apr 2024 09:31:15 +0800 Subject: [PATCH] admin workflow --- app/Admin/Services/WorkFlowService.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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);