feat:完善信息

This commit is contained in:
henry
2021-10-08 09:39:40 +08:00
parent bd788b8b7e
commit fe75ad1aec
10 changed files with 63 additions and 73 deletions

View File

@ -29,12 +29,13 @@ func NewSession() *Session {
// SessionEnterprise 企业用户
type SessionEnterprise struct {
UID uint64 `json:"uid"` // 唯一标识ID
Token string `json:"token"` // token
Name string `json:"name"` // 名称
Mobile string `json:"mobile"` // 手机号码
Identity int `json:"identity"` // 总身份信息
CurrentIdentity int `json:"current_identity"` // 当前身份信息
UID uint64 `json:"uid"` // 唯一标识ID
Token string `json:"token"` // token
Name string `json:"name"` // 名称
Avatar string `json:"avatar"` // 头像
Mobile string `json:"mobile"` // 手机号码
Identity int `json:"identity"` // 身份信息
SelectIdentity int `json:"select_identity"` // 选中身份信息
}
func (this *SessionEnterprise) MarshalBinary() ([]byte, error) {