| | |
| | | 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); |
| | |
| | | return new Response().setII(1,"添加成功"); |
| | | } |
| | | |
| | | @PutMapping("allParamList") |
| | | @PostMapping("allParamList") |
| | | @ApiOperation(value = "更新所有参数配置",notes = "更新所有参数") |
| | | public Response updateParamList(@RequestBody List<PageParamUser> pageParamUserList){ |
| | | service.updateParamList(pageParamUserList); |