秒杀和拼团列表过滤已过期活动 #39
@ -116,7 +116,7 @@ public class AppSeckillActivityController {
|
|||||||
@Operation(summary = "获得秒杀活动分页")
|
@Operation(summary = "获得秒杀活动分页")
|
||||||
public CommonResult<List<ProductSpuRespDTO>> getSeckillActivitySupList(@RequestParam(name = "count", defaultValue = "6") Integer count) {
|
public CommonResult<List<ProductSpuRespDTO>> getSeckillActivitySupList(@RequestParam(name = "count", defaultValue = "6") Integer count) {
|
||||||
AppSeckillActivityPageReqVO pageReqVO = new AppSeckillActivityPageReqVO();
|
AppSeckillActivityPageReqVO pageReqVO = new AppSeckillActivityPageReqVO();
|
||||||
if (count == null || count == 0){
|
if (count != null && count != 0){
|
||||||
pageReqVO.setPageNo(1);
|
pageReqVO.setPageNo(1);
|
||||||
pageReqVO.setPageSize(count);
|
pageReqVO.setPageSize(count);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user