fix 修复用户关联
This commit is contained in:
parent
c47ec9da9a
commit
a96ea0b501
@ -7,7 +7,10 @@
|
|||||||
|
|
||||||
package model
|
package model
|
||||||
|
|
||||||
import "github.com/tiger1103/gfast/v3/internal/app/system/model/entity"
|
import (
|
||||||
|
"github.com/gogf/gf/v2/util/gmeta"
|
||||||
|
"github.com/tiger1103/gfast/v3/internal/app/system/model/entity"
|
||||||
|
)
|
||||||
|
|
||||||
// LoginUserRes 登录返回
|
// LoginUserRes 登录返回
|
||||||
type LoginUserRes struct {
|
type LoginUserRes struct {
|
||||||
@ -40,8 +43,12 @@ type SysUserPostInfoRes struct {
|
|||||||
PostName string `json:"postName"`
|
PostName string `json:"postName"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
type SysUserSimpleRes struct {
|
type SysUserSimpleRes struct {
|
||||||
|
gmeta.Meta `orm:"table:sys_user"`
|
||||||
Id uint64 `orm:"id" json:"id"` //
|
Id uint64 `orm:"id" json:"id"` //
|
||||||
|
Avatar string `orm:"avatar" json:"avatar"` // 头像
|
||||||
|
Sex int `orm:"sex" json:"sex"` // 性别
|
||||||
UserName string `orm:"user_name" json:"userName"` // 用户名
|
UserName string `orm:"user_name" json:"userName"` // 用户名
|
||||||
UserNickname string `orm:"user_nickname" json:"userNickname"` // 用户昵称
|
UserNickname string `orm:"user_nickname" json:"userNickname"` // 用户昵称
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user