赞
踩
@DynamicParameters、@DynamicParameter
- @ApiOperation("批量更新")
- @DynamicParameters(name = "jsonObject",properties = {
- @DynamicParameter(name = "serviceId",value = "应用id,多个用逗号分隔",required = true,dataTypeClass = String.class),
- @DynamicParameter(name = "userIds",value = "用户id,多个用逗号分隔",required = true,dataTypeClass = String.class),
- @DynamicParameter(name = "status",value = "授权状态:0拒绝,1允许",required = true,example = "1",dataTypeClass = Integer.class),
- })
- @PostMapping(value = "/update")
- public Result<?> update(@RequestBody JSONObject jsonObject)
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。