controllers/user.go
@@ -21,7 +21,7 @@ // @Summary 用户登录 // @Description 用户登录 // @Accept json // @Accept x-www-form-urlencoded // @Produce json // @Tags 用户 // @Param username formData string true "用户名" @@ -124,7 +124,7 @@ // @Security ApiKeyAuth // @Summary 编辑此用户,返回此用户的权限菜单 // @Description 编辑此用户,返回此用户的权限菜单 // @Accept json // @Accept x-www-form-urlencoded // @Produce json // @Tags 用户 // @Param userId formData string true "用户id"