🎨 文章分享接口变更

This commit is contained in:
ronger 2022-01-04 10:39:03 +08:00
parent d7923abfd7
commit d84133c47a

View File

@ -285,7 +285,7 @@ public class ArticleServiceImpl extends AbstractService<Article> implements Arti
throw new BaseApiException(ErrorCode.INVALID_TOKEN);
}
StringBuilder shareUrl = new StringBuilder(article.getArticlePermalink());
shareUrl.append("?s=").append(user.getNickname());
shareUrl.append("?s=").append(user.getAccount());
Map map = new HashMap(1);
map.put("shareUrl", shareUrl);
return map;