增加接口

This commit is contained in:
shuo.wang
2025-04-11 18:47:12 +08:00
parent 49862f9e62
commit cc996d8db6
7 changed files with 57 additions and 6 deletions

View File

@@ -89,4 +89,6 @@ public class PCPlatformBuildController {
return ResponseResult.success(operationLogService.getAuditInfo(shopId, shopSubStageList));
}
}

View File

@@ -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));
}
}