--修复分来带来的拼团砍价问题
This commit is contained in:
@ -99,7 +99,7 @@ public class StoreBargainController {
|
|||||||
public ApiResult<Object> getYxStoreBargainPageList(@RequestParam(value = "page",defaultValue = "1") int page,
|
public ApiResult<Object> getYxStoreBargainPageList(@RequestParam(value = "page",defaultValue = "1") int page,
|
||||||
@RequestParam(value = "limit",defaultValue = "10") int limit){
|
@RequestParam(value = "limit",defaultValue = "10") int limit){
|
||||||
|
|
||||||
return ApiResult.resultPage(Collections.singletonList(storeBargainService.getList(page, limit)),limit);
|
return ApiResult.resultPage(storeBargainService.getList(page, limit),limit);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -84,7 +84,7 @@ public class StoreCombinationController {
|
|||||||
@ApiOperation(value = "拼团产品列表",notes = "拼团产品列表")
|
@ApiOperation(value = "拼团产品列表",notes = "拼团产品列表")
|
||||||
public ApiResult<CombinationQueryVo> getList(@RequestParam(value = "page",defaultValue = "1") int page,
|
public ApiResult<CombinationQueryVo> getList(@RequestParam(value = "page",defaultValue = "1") int page,
|
||||||
@RequestParam(value = "limit",defaultValue = "10") int limit){
|
@RequestParam(value = "limit",defaultValue = "10") int limit){
|
||||||
return ApiResult.resultPage(storeCombinationService.getList(page, limit),limit);
|
return ApiResult.ok(storeCombinationService.getList(page, limit));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user