mirror of https://github.com/rocboss/paopao-ce
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
489 B
21 lines
489 B
2 years ago
|
// Copyright 2023 ROC. All rights reserved.
|
||
|
// Use of this source code is governed by a MIT style
|
||
|
// license that can be found in the LICENSE file.
|
||
|
|
||
|
package cs
|
||
|
|
||
|
type (
|
||
|
// UserInfoList 用户信息列表
|
||
|
UserInfoList []*UserInfo
|
||
|
)
|
||
|
|
||
|
// UserInfo 用户基本信息
|
||
|
type UserInfo struct {
|
||
|
ID int64 `json:"id"`
|
||
|
Nickname string `json:"nickname"`
|
||
|
Username string `json:"username"`
|
||
|
Status int `json:"status"`
|
||
|
Avatar string `json:"avatar"`
|
||
|
IsAdmin bool `json:"is_admin"`
|
||
|
}
|