fix: wecom user list
CI / admin (push) Has been skipped
CI / bff (push) Has been skipped
CI / chore (push) Has been skipped
CI / express (push) Has been skipped
CI / product (push) Has been skipped
CI / sale (push) Has been skipped
CI / user (push) Has been skipped
CI / wecom (push) Has been skipped
CI / changes (push) Successful in 12s
CI / ad (push) Successful in 0s
CI / admin (push) Has been skipped
CI / bff (push) Has been skipped
CI / chore (push) Has been skipped
CI / express (push) Has been skipped
CI / product (push) Has been skipped
CI / sale (push) Has been skipped
CI / user (push) Has been skipped
CI / wecom (push) Has been skipped
CI / changes (push) Successful in 12s
CI / ad (push) Successful in 0s
This commit is contained in:
@@ -20,24 +20,33 @@ type WecomUser struct {
|
||||
Mobile string `gorm:"column:mobile" json:"mobile"`
|
||||
Avatar string `gorm:"column:avatar" json:"avatar"`
|
||||
Status uint8 `gorm:"column:status" json:"status"`
|
||||
AgentIds string `gorm:"column:agent_ids;type:json" json:"agent_ids"`
|
||||
CreatedAt utils.CustomTime `gorm:"column:created_at" json:"created_at"`
|
||||
UpdatedAt utils.CustomTime `gorm:"column:updated_at" json:"updated_at"`
|
||||
}
|
||||
|
||||
// UserAgentItem 用户绑定的应用快照
|
||||
type UserAgentItem struct {
|
||||
Id int64 `json:"id"`
|
||||
AgentId int64 `json:"agent_id"`
|
||||
Name string `json:"name"`
|
||||
}
|
||||
|
||||
type UserListItem struct {
|
||||
Id int64 `json:"id"`
|
||||
UserId int64 `json:"user_id"`
|
||||
Type uint8 `json:"type"`
|
||||
TypeText string `json:"type_text"`
|
||||
Name string `json:"name"`
|
||||
Mobile string `json:"mobile"`
|
||||
OriginMobile string `json:"origin_mobile"`
|
||||
Avatar string `json:"avatar"`
|
||||
Status uint8 `json:"status"`
|
||||
BizName string `json:"biz_name"`
|
||||
WecomUserId string `json:"wecom_user_id"`
|
||||
CreatedAt string `json:"created_at"`
|
||||
UpdatedAt string `json:"updated_at"`
|
||||
Id int64 `json:"id"`
|
||||
UserId int64 `json:"user_id"`
|
||||
Type uint8 `json:"type"`
|
||||
TypeText string `json:"type_text"`
|
||||
Name string `json:"name"`
|
||||
Mobile string `json:"mobile"`
|
||||
OriginMobile string `json:"origin_mobile"`
|
||||
Avatar string `json:"avatar"`
|
||||
Status uint8 `json:"status"`
|
||||
BizName string `json:"biz_name"`
|
||||
WecomUserId string `json:"wecom_user_id"`
|
||||
Agents []UserAgentItem `json:"agents"`
|
||||
CreatedAt string `json:"created_at"`
|
||||
UpdatedAt string `json:"updated_at"`
|
||||
}
|
||||
|
||||
type UserTypeOption struct {
|
||||
|
||||
Reference in New Issue
Block a user