|
@@ -43,12 +43,13 @@ public class StoreCommentController {
|
|
|
@ApiImplicitParam(name = "commentLevel", value = "评论等级(0:全部, 1:好评, 2:中评, 3:差评)", dataType = "Integer", paramType = "query"),
|
|
@ApiImplicitParam(name = "commentLevel", value = "评论等级(0:全部, 1:好评, 2:中评, 3:差评)", dataType = "Integer", paramType = "query"),
|
|
|
@ApiImplicitParam(name = "days", value = "查询时间, 多少天前", dataType = "Integer", paramType = "query"),
|
|
@ApiImplicitParam(name = "days", value = "查询时间, 多少天前", dataType = "Integer", paramType = "query"),
|
|
|
@ApiImplicitParam(name = "phoneId", value = "消息标识", dataType = "String", paramType = "query"),
|
|
@ApiImplicitParam(name = "phoneId", value = "消息标识", dataType = "String", paramType = "query"),
|
|
|
- @ApiImplicitParam(name = "userType", value = "评论的用户类型(0:商家, 其他:用户)", dataType = "String", paramType = "query")
|
|
|
|
|
|
|
+ @ApiImplicitParam(name = "userType", value = "评论的用户类型(0:商家, 其他:用户)", dataType = "String", paramType = "query"),
|
|
|
|
|
+ @ApiImplicitParam(name = "tagId", value = "标签id)", dataType = "Integer", paramType = "query")
|
|
|
})
|
|
})
|
|
|
@GetMapping("/getList")
|
|
@GetMapping("/getList")
|
|
|
- public R<IPage<StoreCommentVo>> getList(Integer pageNum, Integer pageSize, Integer businessId, Integer businessType, Integer storeId, Integer replyStatus, Integer commentLevel, Integer days, String phoneId, Integer userType) {
|
|
|
|
|
- log.info("StoreCommentController.getList?pageNum={}&pageSize={}&businessId={}&businessType={}&storeId={}&replyStatus={}&commentLevel={}&days={}&phoneId={}&userType={}", pageNum, pageSize, businessId, businessType, storeId, replyStatus, commentLevel, days, phoneId, userType);
|
|
|
|
|
- return R.data(storeCommentService.getList(pageNum, pageSize, businessId, businessType, storeId, replyStatus, commentLevel, days, phoneId, userType));
|
|
|
|
|
|
|
+ public R<IPage<StoreCommentVo>> getList(Integer pageNum, Integer pageSize, Integer businessId, Integer businessType, Integer storeId, Integer replyStatus, Integer commentLevel, Integer days, String phoneId, Integer userType, Integer tagId) {
|
|
|
|
|
+ log.info("StoreCommentController.getList?pageNum={}&pageSize={}&businessId={}&businessType={}&storeId={}&replyStatus={}&commentLevel={}&days={}&phoneId={}&userType={}&tagId={}", pageNum, pageSize, businessId, businessType, storeId, replyStatus, commentLevel, days, phoneId, userType, tagId);
|
|
|
|
|
+ return R.data(storeCommentService.getList(pageNum, pageSize, businessId, businessType, storeId, replyStatus, commentLevel, days, phoneId, userType, tagId));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@ApiOperation("获取最新一条评论/评价")
|
|
@ApiOperation("获取最新一条评论/评价")
|