Fix login bug

This commit is contained in:
2023-10-30 17:19:56 +08:00
parent 69680dd4ad
commit d4e4ec6cbc
7 changed files with 43 additions and 12 deletions

View File

@@ -0,0 +1,14 @@
package top.fatweb.api.vo.authentication
import io.swagger.v3.oas.annotations.media.Schema
@Schema(description = "模块返回参数")
data class ModuleVo(
val id: Long?,
@Schema(description = "模块名", example = "系统")
val name: String?,
@Schema(description = "权限 ID")
val powerId: Long?
)

View File

@@ -40,6 +40,9 @@ data class UserInfoVo(
@Schema(description = "修改时间", example = "1900-01-01T00:00:00.000Z")
val updateTime: LocalDateTime?,
@Schema(description = "模块列表")
val modules: List<ModuleVo>?,
@Schema(description = "菜单列表")
val menus: List<MenuVo>?,