fix 修复用户关联
This commit is contained in:
@@ -7,7 +7,10 @@
|
||||
|
||||
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 登录返回
|
||||
type LoginUserRes struct {
|
||||
@@ -40,8 +43,12 @@ type SysUserPostInfoRes struct {
|
||||
PostName string `json:"postName"`
|
||||
}
|
||||
|
||||
|
||||
type SysUserSimpleRes struct {
|
||||
gmeta.Meta `orm:"table:sys_user"`
|
||||
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"` // 用户名
|
||||
UserNickname string `orm:"user_nickname" json:"userNickname"` // 用户昵称
|
||||
}
|
||||
|
Reference in New Issue
Block a user