diff --git a/app/Listeners/CreateWorkflowCheckFailedMessage.php b/app/Listeners/CreateWorkflowCheckFailedMessage.php index 93a3102..3441039 100644 --- a/app/Listeners/CreateWorkflowCheckFailedMessage.php +++ b/app/Listeners/CreateWorkflowCheckFailedMessage.php @@ -49,7 +49,7 @@ class CreateWorkflowCheckFailedMessage implements ShouldQueue "您有一条【{$subjectTypeText}】未通过审核。", [$employee], [ - 'subject_type' => $subject->subject_type, + 'subject_type' => $subject->getMorphClass(), 'subject' => $subject, ], );