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;