fixed swagger必输入参数问题

This commit is contained in:
冷冷 2018-05-09 06:43:35 +08:00
parent dae452aa80
commit 96657347b0
1 changed files with 1 additions and 1 deletions
pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/controller

View File

@ -75,7 +75,7 @@ public class UserController extends BaseController {
* @return R
*/
@ApiOperation(value = "删除用户", notes = "根据ID删除用户")
@ApiImplicitParam(name = "id", value = "用户ID", required = true, dataType = "Integer", paramType = "path")
@ApiImplicitParam(name = "id", value = "用户ID", required = true, dataType = "int", paramType = "path")
@DeleteMapping("/{id}")
public R<Boolean> userDel(@PathVariable Integer id) {
SysUser sysUser = userService.selectById(id);