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