Commit 458d6bd5 authored by shiyu's avatar shiyu

生成link

parent 28a10c4f
......@@ -1085,10 +1085,10 @@ public class ItemServiceImpl implements ItemService {
}
// 发送消息
Long userId = userTokenManager.getUserId(request.getHeader("Authorization"));
if (Objects.nonNull(userId)) {
/* if (Objects.nonNull(userId)) {
Long itemId = Long.parseLong(pageUrl.split("=")[1]);
sendMessage(itemId, userId, MessageEnum.TypeEnum.SHARE.getCode(), shareType);
}
}*/
Map<String, Object> map = new HashMap<>();
map.put("link", link);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment