mirror of https://gitee.com/maxjhandsome/pig
fixed swagger必输入参数问题
This commit is contained in:
parent
dae452aa80
commit
96657347b0
pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/controller
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue