From 7399dca13296f13bfce8880312bb663c60cf78dc Mon Sep 17 00:00:00 2001 From: ronger Date: Fri, 17 Dec 2021 19:58:41 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E4=BF=AE=E5=A4=8D=E5=85=B3=E6=B3=A8?= =?UTF-8?q?=E6=8F=90=E9=86=92=E9=93=BE=E6=8E=A5=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/rymcu/forest/util/NotificationUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/rymcu/forest/util/NotificationUtils.java b/src/main/java/com/rymcu/forest/util/NotificationUtils.java index 9f5c9a4..93de7d0 100644 --- a/src/main/java/com/rymcu/forest/util/NotificationUtils.java +++ b/src/main/java/com/rymcu/forest/util/NotificationUtils.java @@ -116,7 +116,7 @@ public class NotificationUtils { notificationDTO.setDataTitle("关注提醒"); if (Objects.nonNull(follow)) { user = userService.findById(follow.getFollowerId().toString()); - notificationDTO.setDataUrl(getFollowLink(follow.getFollowingType(), user.getNickname())); + notificationDTO.setDataUrl(getFollowLink(follow.getFollowingType(), user.getAccount())); notificationDTO.setAuthor(genAuthor(user)); } break;