角色int64转string

This commit is contained in:
2023-06-28 18:20:21 +08:00
parent b4e18e23e3
commit 39c28a6ecf
3 changed files with 60 additions and 14 deletions
+5 -5
View File
@@ -20,11 +20,11 @@ type GetRoleMenuList struct {
// GetRole 角色详情
type GetRole struct {
MenuIds []int64 `json:"menu_ids"` // 菜单id
RoleId int64 `json:"role_id"` // 角色id
RoleName string `json:"role_name"` // 角色名称
RoleStatus int `json:"role_status"` // 角色状态(1:正常 2:禁用)
IsAdmin int `json:"is_admin"` // 是否管理员(0:否 1:是)
MenuIds []string `json:"menu_ids"` // 菜单id
RoleId string `json:"role_id"` // 角色id
RoleName string `json:"role_name"` // 角色名称
RoleStatus int `json:"role_status"` // 角色状态(1:正常 2:禁用)
IsAdmin int `json:"is_admin"` // 是否管理员(0:否 1:是)
}
// GetRolePage 获取角色列表-分页