🐛 修复关注提醒链接问题

This commit is contained in:
ronger 2021-12-17 19:58:41 +08:00
parent a620d4664b
commit 7399dca132

View File

@ -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;