feat(mall): 添加商品评论列表功能并优化订单项
- 新增商品评论列表接口和相关服务方法 - 在订单项中添加指导价字段 - 优化商品评论查询条件和排序功能 - 增加评论用户头像和用户名信息 - 更新相关实体类和VO类以支持新功能
This commit is contained in:
@@ -263,6 +263,12 @@ public class ApiProdController {
|
||||
return ServerResponseEntity.success(prodService.getSearchProdPageByProdName(pageQuery, categoryId, prodName, envLevel, fireLevel, trialScenario,floor, sort, orderBy));
|
||||
}
|
||||
|
||||
@GetMapping("/prodCommPage")
|
||||
@Operation(summary = "商品评论列表", description = "查询商品评论列表")
|
||||
public ServerResponseEntity<IPage<TzProdCommVo>> getMyWithdrawList(TzProdCommBo bo, PageQuery pageQuery) {
|
||||
return ServerResponseEntity.success(prodCommService.selectPageList(bo, pageQuery));
|
||||
}
|
||||
|
||||
@PostMapping("/prodCommByProdId")
|
||||
@Operation(summary = "商品评论列表", description = "根据商品ID(prodId)查询商品评论列表")
|
||||
@Parameter(name = "prodId", description = "商品ID", required = true)
|
||||
|
||||
Reference in New Issue
Block a user