swagger3.0中,如何在@GetMapping中写多个参数,包括数组类型的参数

时间:2025-03-17 07:32:50
@PreAuthorize("@('zdy:yfsYy:list')") @GetMapping("/yfs/send/{jiHuaId}&&{yiYuanIds}") @ApiOperation("一键发送到************计划") @ApiImplicitParams({ @ApiImplicitParam(name = "jiHuaId",value = "计划id",required = true,dataType = "Integer",paramType = "path"), @ApiImplicitParam(name = "yiYuanIds",value = "所选**的ids",required = true,dataType = "String",paramType = "path") }) public AjaxResult sendMessageAndNotice(@PathVariable Long jiHuaId, @PathVariable Long[] yiYuanIds) { return toAjax(xjjhDataService.sendMessageAndNotice(jiHuaId,yiYuanIds)); }