解决 swagger 文档错误的问题,原因是参数注解写的不对~
This commit is contained in:
parent
7dad85a9d6
commit
b6457c0418
@ -165,8 +165,8 @@ public class SysUserController {
|
||||
|
||||
@ApiOperation("导入用户")
|
||||
@ApiImplicitParams({
|
||||
@ApiImplicitParam(name = "path", value = "Excel 文件", required = true, dataTypeClass = MultipartFile.class),
|
||||
@ApiImplicitParam(name = "update-support", value = "是否支持更新,默认为 false", example = "true", dataTypeClass = Long.class)
|
||||
@ApiImplicitParam(name = "file", value = "Excel 文件", required = true, dataTypeClass = MultipartFile.class),
|
||||
@ApiImplicitParam(name = "updateSupport", value = "是否支持更新,默认为 false", example = "true", dataTypeClass = Boolean.class)
|
||||
})
|
||||
@PostMapping("/import")
|
||||
// @Log(title = "用户管理", businessType = BusinessType.IMPORT)
|
||||
|
Loading…
Reference in New Issue
Block a user