whyclxw
2025-05-28 e16302f9d475c7cc4dd18c5abf1a23cb5502e362
src/main/java/com/whyc/controller/PageParamUserController.java
@@ -35,7 +35,7 @@
        return new Response<List<PageParamUser>>().set(1,paramList);
    }
    @PutMapping("list")
    @PostMapping("updateList")
    @ApiOperation(value = "添加或者移除参数配置")
    public Response updateList(@RequestParam int operationFlag,@RequestBody List<PageParamUser> pageParamUserList){
        service.updateList(pageParamUserList,operationFlag);
@@ -49,4 +49,11 @@
        return new Response().setII(1,"添加成功");
    }
    @PostMapping("allParamList")
    @ApiOperation(value = "更新所有参数配置",notes = "更新所有参数")
    public Response updateParamList(@RequestBody List<PageParamUser> pageParamUserList){
        service.updateParamList(pageParamUserList);
        return new Response().setII(1,"更新成功");
    }
}