🐛 分享链接数据丢失问题修复
This commit is contained in:
parent
2ac72ab28a
commit
843b8b723a
@ -274,10 +274,8 @@ public class ArticleServiceImpl extends AbstractService<Article> implements Arti
|
||||
if (Objects.isNull(user)) {
|
||||
throw new BaseApiException(ErrorCode.INVALID_TOKEN);
|
||||
}
|
||||
StringBuilder shareUrl = new StringBuilder(article.getArticlePermalink());
|
||||
shareUrl.append("?s=").append(user.getAccount());
|
||||
Map map = new HashMap(1);
|
||||
map.put("shareUrl", shareUrl.toString());
|
||||
Map map = new HashMap(2);
|
||||
map.put("shareUrl", article.getArticlePermalink() + "?s=" + user.getAccount());
|
||||
return map;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user