From bb0c19bf1c30c839f60fe57301ee1cab1671b198 Mon Sep 17 00:00:00 2001 From: lion <120344285@qq.com> Date: Thu, 13 Aug 2026 12:08:06 +0800 Subject: [PATCH] up --- .env.example | 2 +- app/Notifications/AuditEmailNotify.php | 8 ++++---- app/Notifications/AuditResultEmailNotify.php | 8 ++++---- app/Notifications/CancelEmailNotify.php | 4 ++-- app/Notifications/EmailNotify.php | 4 ++-- app/Notifications/VisitEmailNotify.php | 4 ++-- public/admin/index.html | 4 ++-- public/admin/static/js/app.7bbff0b1.js | 2 +- public/cancel/index.html | 2 +- public/cancel/static/js/index.61aece7b.js | 2 +- 10 files changed, 20 insertions(+), 20 deletions(-) diff --git a/.env.example b/.env.example index 9bb1bd7..ecbc987 100644 --- a/.env.example +++ b/.env.example @@ -2,7 +2,7 @@ APP_NAME=Laravel APP_ENV=local APP_KEY= APP_DEBUG=true -APP_URL=http://localhost +APP_URL=https://ss-visitor.ali251.langye.net LOG_CHANNEL=stack LOG_DEPRECATIONS_CHANNEL=null diff --git a/app/Notifications/AuditEmailNotify.php b/app/Notifications/AuditEmailNotify.php index 2fda332..aa4f7e7 100644 --- a/app/Notifications/AuditEmailNotify.php +++ b/app/Notifications/AuditEmailNotify.php @@ -50,7 +50,7 @@ class AuditEmailNotify extends Notification if ($this->isFirstAudit) { // 第一个审核人的邮件 return (new MailMessage) - ->from(config('mail.from.address'), 'Getinge Suzhou HR') + ->from(config('mail.from.address'), '赛思 HR') ->subject('新的拜访审核通知 - ' . $visitData['name']) ->greeting('您好 ' . $notifiable->name . ',') ->line('您有一个新的拜访申请需要审核,访客 ' . $visitData['name'] . ' 预约于 ' . $visitData['date'] . ' 到访。') @@ -59,11 +59,11 @@ class AuditEmailNotify extends Notification ->line('请及时审核此拜访申请。') ->salutation('') ->line('Regards') - ->line('Getinge Suzhou HR'); + ->line('赛思 HR'); } else { // 后续审核人的邮件 return (new MailMessage) - ->from(config('mail.from.address'), 'Getinge Suzhou HR') + ->from(config('mail.from.address'), '赛思 HR') ->subject('拜访审核流转通知 - ' . $visitData['name']) ->greeting('您好 ' . $notifiable->name . ',') ->line('拜访申请 ' . $visitData['name'] . ' 预约于 ' . $visitData['date'] . ' 的审核已流转到您这里,上一级审核人:' . ($visitData['previous_admin'] ?? '') . '。') @@ -72,7 +72,7 @@ class AuditEmailNotify extends Notification ->line('请及时处理此审核流转。') ->salutation('') ->line('Regards') - ->line('Getinge Suzhou HR'); + ->line('赛思 HR'); } } } diff --git a/app/Notifications/AuditResultEmailNotify.php b/app/Notifications/AuditResultEmailNotify.php index a7790a3..909a601 100644 --- a/app/Notifications/AuditResultEmailNotify.php +++ b/app/Notifications/AuditResultEmailNotify.php @@ -51,7 +51,7 @@ class AuditResultEmailNotify extends Notification if ($auditResult === '通过') { // 审核通过的邮件 return (new MailMessage) - ->from(config('mail.from.address'), 'Getinge Suzhou HR') + ->from(config('mail.from.address'), '赛思 HR') ->subject('拜访申请审核通过通知 - ' . $visitData['name']) ->greeting('您好 ' . $visitData['visitor_name'] . ',') ->line('您的拜访申请已审核通过,预约于 ' . $visitData['date'] . ' 到访。') @@ -60,11 +60,11 @@ class AuditResultEmailNotify extends Notification ->line('请按时到访,如有疑问请联系被访人。') ->salutation('') ->line('Regards') - ->line('Getinge Suzhou HR'); + ->line('赛思 HR'); } else { // 审核驳回的邮件 return (new MailMessage) - ->from(config('mail.from.address'), 'Getinge Suzhou HR') + ->from(config('mail.from.address'), '赛思 HR') ->subject('拜访申请审核驳回通知 - ' . $visitData['name']) ->greeting('您好 ' . $visitData['visitor_name'] . ',') ->line('很抱歉,您的拜访申请未通过审核。') @@ -74,7 +74,7 @@ class AuditResultEmailNotify extends Notification ->line('如有疑问,请联系被访人或重新提交申请。') ->salutation('') ->line('Regards') - ->line('Getinge Suzhou HR'); + ->line('赛思 HR'); } } } diff --git a/app/Notifications/CancelEmailNotify.php b/app/Notifications/CancelEmailNotify.php index 91e1456..1947c11 100644 --- a/app/Notifications/CancelEmailNotify.php +++ b/app/Notifications/CancelEmailNotify.php @@ -45,7 +45,7 @@ class CancelEmailNotify extends Notification $visitData = $this->visitData; return (new MailMessage) - ->from(config('mail.from.address'), 'Getinge Suzhou HR') + ->from(config('mail.from.address'), '赛思 HR') ->subject('拜访预约取消通知 - ' . $visitData['name']) ->greeting('您好 ' . $notifiable->name . ',') ->line('访客 ' . $visitData['name'] . ' 原预约于 ' . $visitData['date'] . ' 的拜访已取消。') @@ -54,7 +54,7 @@ class CancelEmailNotify extends Notification ->line('如有疑问,请联系访客确认。') ->salutation('') ->line('Regards') - ->line('Getinge Suzhou HR'); + ->line('赛思 HR'); } } diff --git a/app/Notifications/EmailNotify.php b/app/Notifications/EmailNotify.php index 5c1e34f..b3e0043 100644 --- a/app/Notifications/EmailNotify.php +++ b/app/Notifications/EmailNotify.php @@ -44,12 +44,12 @@ class EmailNotify extends Notification public function toMail($notifiable) { return (new MailMessage) - ->from(config('mail.from.address'), 'Getinge Suzhou HR') + ->from(config('mail.from.address'), '赛思 HR') ->subject($notifiable->title) ->line($notifiable->content) ->salutation('') ->line('Regards') - ->line('Getinge Suzhou HR'); + ->line('赛思 HR'); } /** diff --git a/app/Notifications/VisitEmailNotify.php b/app/Notifications/VisitEmailNotify.php index 5ff79f1..76a8a72 100644 --- a/app/Notifications/VisitEmailNotify.php +++ b/app/Notifications/VisitEmailNotify.php @@ -45,7 +45,7 @@ class VisitEmailNotify extends Notification $visitData = $this->visitData; return (new MailMessage) - ->from(config('mail.from.address'), 'Getinge Suzhou HR') + ->from(config('mail.from.address'), '赛思 HR') ->subject('新的拜访预约通知 - ' . $visitData['name']) ->greeting('您好 ' . $notifiable->name . ',') ->line('您有一个新的拜访预约,访客 ' . $visitData['name'] . ' 预约于 ' . $visitData['date'] . ' 到访。') @@ -54,6 +54,6 @@ class VisitEmailNotify extends Notification ->line('请及时处理此拜访预约。') ->salutation('') ->line('Regards') - ->line('Getinge Suzhou HR'); + ->line('赛思 HR'); } } diff --git a/public/admin/index.html b/public/admin/index.html index 05389d8..6e7c4ff 100644 --- a/public/admin/index.html +++ b/public/admin/index.html @@ -1,3 +1,3 @@ -