fix
This commit is contained in:
@@ -3,6 +3,7 @@ package com.cool.store.controller.webb;
|
||||
import com.cool.store.entity.WarehouseInfoDO;
|
||||
import com.cool.store.response.ResponseResult;
|
||||
import com.cool.store.service.WarehouseInfoService;
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
@@ -29,9 +30,9 @@ public class PCWarehouseInfoController {
|
||||
|
||||
@GetMapping("/getAllAndActive")
|
||||
@ApiOperation(value = "获取正新鸡排仓库配置")
|
||||
public ResponseResult<List<WarehouseInfoDO>> getAllAndActive(@RequestParam("keyword")String keyword ,
|
||||
@RequestParam(value = "pageNum",defaultValue = "1")Integer pageNum,
|
||||
@RequestParam(value = "pageSize",defaultValue = "10")Integer pageSize) {
|
||||
public ResponseResult<PageInfo<WarehouseInfoDO>> getAllAndActive(@RequestParam("keyword")String keyword ,
|
||||
@RequestParam(value = "pageNum",defaultValue = "1")Integer pageNum,
|
||||
@RequestParam(value = "pageSize",defaultValue = "10")Integer pageSize) {
|
||||
return ResponseResult.success(warehouseInfoService.getAllAndActive(keyword,pageNum,pageSize));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user