feat(mall): 添加商品评论列表功能并优化订单项

- 新增商品评论列表接口和相关服务方法
- 在订单项中添加指导价字段
- 优化商品评论查询条件和排序功能
- 增加评论用户头像和用户名信息
- 更新相关实体类和VO类以支持新功能
This commit is contained in:
清晨
2025-05-16 10:50:23 +08:00
parent b5ce9d4a3d
commit 3f7707f1db
8 changed files with 103 additions and 9 deletions

View File

@@ -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 = "根据商品IDprodId查询商品评论列表")
@Parameter(name = "prodId", description = "商品ID", required = true)