fix: 主播修改昵称审核 mongodb newName

This commit is contained in:
wangxinyu 2024-12-12 11:39:16 +08:00
parent 4e002b9d44
commit f695b1132d
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ const (
type Account struct { type Account struct {
Mid *int64 `json:"mid" bson:"_id"` // 用户表Id Mid *int64 `json:"mid" bson:"_id"` // 用户表Id
Name *string `json:"name" bson:"name"` // 用户名 Name *string `json:"name" bson:"name"` // 用户名
NewName *string `json:"new_name" bson:"audit_status"` // 用户修改后的名字(主播昵称需要审核,用来更新) NewName *string `json:"new_name" bson:"new_name"` // 用户修改后的名字(主播昵称需要审核,用来更新)
UserId *int64 `json:"user_id" bson:"user_id"` // 业务Id UserId *int64 `json:"user_id" bson:"user_id"` // 业务Id
Avatar *MediaComponent `json:"avatar" bson:"avatar"` // 头像 Avatar *MediaComponent `json:"avatar" bson:"avatar"` // 头像
MobilePhone *string `json:"mobile_phone" bson:"mobile_phone" jcrypto:"rsa" bcrypto:"aes_cbc|1|0"` // 手机号,数据库加密,查询不解密 MobilePhone *string `json:"mobile_phone" bson:"mobile_phone" jcrypto:"rsa" bcrypto:"aes_cbc|1|0"` // 手机号,数据库加密,查询不解密