From 16dc063a395375dee887420d27f93752520fc5d0 Mon Sep 17 00:00:00 2001 From: Jerry Yan <792602257@qq.com> Date: Tue, 24 Jun 2025 09:43:56 +0800 Subject: [PATCH] =?UTF-8?q?[notice]=E6=9C=8D=E5=8A=A1=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/service/NoticeService.php | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/service/NoticeService.php diff --git a/src/service/NoticeService.php b/src/service/NoticeService.php new file mode 100644 index 0000000..89ee56d --- /dev/null +++ b/src/service/NoticeService.php @@ -0,0 +1,24 @@ + $type, + 'content' => $content, + 'link' => $link, + 'staff_id' => $user, + ]; + } + return NoticeNotice::mk()->insertAll($notices); + } +} \ No newline at end of file