From 58e25f995a0e48ccb625729e25ac6e9ba9f15516 Mon Sep 17 00:00:00 2001 From: XiaoLFeng Date: Tue, 27 Jun 2023 20:40:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=8F=8B=E9=93=BE=E6=BC=8F?= =?UTF-8?q?=E6=B4=9E=E8=A1=A5=E4=B8=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Http/Controllers/Function/Link.php | 2 +- resources/views/function/make-friend.blade.php | 2 +- resources/views/mail/link-custom-add.blade.php | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/Http/Controllers/Function/Link.php b/app/Http/Controllers/Function/Link.php index fba3798..dc594fd 100644 --- a/app/Http/Controllers/Function/Link.php +++ b/app/Http/Controllers/Function/Link.php @@ -48,7 +48,7 @@ public function apiCustomAdd(Request $request): JsonResponse 'userRss' => 'string|regex:#[a-zA-z]+://[^\s]*#', 'userLocation' => 'required|int', 'userSelColor' => 'required|int', - 'userRemark' => 'required|string', + 'userRemark' => 'string', ]); // 检查发现错误 diff --git a/resources/views/function/make-friend.blade.php b/resources/views/function/make-friend.blade.php index 8d80588..4b20030 100644 --- a/resources/views/function/make-friend.blade.php +++ b/resources/views/function/make-friend.blade.php @@ -297,7 +297,7 @@ function ajax() { success: function (returnData) { if (returnData.output === "Success") { Toast.toggle('友链申请成功',''); - location.href = '{{ route('home') }}' + location.href = '{{ route('function.link') }}' } else { Toast('未知错误',''); } diff --git a/resources/views/mail/link-custom-add.blade.php b/resources/views/mail/link-custom-add.blade.php index e52d01a..1484214 100644 --- a/resources/views/mail/link-custom-add.blade.php +++ b/resources/views/mail/link-custom-add.blade.php @@ -7,7 +7,7 @@ - +
$G_TitleName{{ env('APP_NAME') }}
@@ -26,7 +26,7 @@ 您好 {{ $userBlog }} 的站长:{{ $userEmail }}
您在本博客({{ env('APP_NAME') }})申请了友链
-
+
请在确认一次您的信息是否正确:
  • 博主邮箱:{{ $userEmail }}
  • @@ -35,7 +35,7 @@
  • 图片地址:{{ $userIcon }}
  • 贵站介绍:{{ $userDescription }}
  • 备注内容:{{ $userRemark }}
  • -
  • RSS地址:{{ $userRSS }}
  • + @if(!empty($checkRssJudge))
  • RSS地址:{{ $userRSS }}
  • @endif