From ba1aa9b63206ce34fb891af067ce6f8cd28ff491 Mon Sep 17 00:00:00 2001 From: Apple Date: Mon, 25 Oct 2021 15:24:59 +0800 Subject: [PATCH] =?UTF-8?q?@1028-=E4=BF=AE=E5=A4=8D=E5=86=85=E5=AE=B9?= =?UTF-8?q?=E5=AE=A1=E6=A0=B8=E9=80=9A=E7=9F=A5=E8=BF=87=E9=95=BF=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Notifications/Messages/SimpleMessage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Notifications/Messages/SimpleMessage.php b/src/Notifications/Messages/SimpleMessage.php index dbe6ee4..d5de601 100644 --- a/src/Notifications/Messages/SimpleMessage.php +++ b/src/Notifications/Messages/SimpleMessage.php @@ -22,7 +22,7 @@ abstract class SimpleMessage protected function getContent($data) { - if (isset($this->data['notify_type']) && in_array($this->data['notify_type'], ['sticky', 'essence', 'delete'])) { + if (isset($this->data['notify_type']) && in_array($this->data['notify_type'], ['sticky', 'essence', 'delete', 'approved'])) { $data['post'] = Post::changeNotifitionPostContent($data['post']); } -- Gitee