增加接口
This commit is contained in:
@@ -89,4 +89,6 @@ public class PCPlatformBuildController {
|
||||
return ResponseResult.success(operationLogService.getAuditInfo(shopId, shopSubStageList));
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -7,6 +7,7 @@ import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
@@ -28,7 +29,7 @@ public class PCWarehouseInfoController {
|
||||
|
||||
@GetMapping("/getAllAndActive")
|
||||
@ApiOperation(value = "获取正新鸡排仓库配置")
|
||||
public ResponseResult<List<WarehouseInfoDO>> getAllAndActive() {
|
||||
return ResponseResult.success(warehouseInfoService.getAllAndActive());
|
||||
public ResponseResult<List<WarehouseInfoDO>> getAllAndActive(@RequestParam("keyword")String keyword ) {
|
||||
return ResponseResult.success(warehouseInfoService.getAllAndActive(keyword));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user