帖子详情展示绑定商品信息

上级 11c7ecfb
......@@ -345,6 +345,9 @@ public class DynamicServiceImpl implements DynamicService {
dynamicVO.setCommentAndReplyVO(listDynamic);
}
Integer goodsId = dynamicVO.getGoodsId();
MallGoodsVO result = pmsAppApi.mallGoodsDetails(goodsId).getResult();
dynamicVO.setMallGoodsVO(result);
return ResultBody.success(dynamicVO);
}
......
......@@ -572,7 +572,8 @@
lon,
likes_count,
comments_count,
create_time
create_time,
goods_id
from forum_dynamic
where id = #{dynamicId}
</select>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论