12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- package entity
- type UserCountResp struct {
- TotalReg int64 `json:"total_reg"`
- ToDayReg int64 `json:"today_reg"`
- }
- type UserReq struct {
- UserName string `json:"userName" bson:"userName" form:"userName"` // 用户名
- UserID string `json:"user_id" bson:"user_id" form:"userID"`
- Pid string `json:"pid" form:"pid"`
- RangeStart int `json:"rangeStart" form:"rangeStart"`
- RangeEnd int `json:"rangeEnd" form:"rangeEnd"`
- LoginIp string `json:"loginIp" form:"loginIp"`
- Tag string `json:"tag" form:"tag"`
- Page int `json:"page" form:"page"`
- Size int `json:"size" form:"size"`
- OrderColumn string `json:"orderColumn" form:"orderColumn"`
- OrderType string `json:"orderType" form:"orderType"`
- }
- type UserListResp struct {
- UserName string `json:"userName" bson:"userName"` // 用户名
- OpenId string `json:"openId" bson:"openId"` // 对应tgid
- UserNameMaybe string `json:"userNameMaybe" bson:"userNameMaybe"` // 昵称
- NickName string `json:"nickName" bson:"nickName"` // 昵称
- Pid string `json:"pid" bson:"pid"` // 上级ID
- XID string `json:"xID" bson:"xID"` // 绑定推特ID
- TonWall string `json:"tonWall" bson:"tonWall"` // 绑定钱包地址
- Email string `json:"email" bson:"email"` // 邮箱
- Mobile string `json:"mobile" bson:"mobile"` // 手机号
- Avatar string `json:"avatar" bson:"avatar"` // 头像
- IsCashOut int `json:"-" bson:"IsCashOut"` // 服务器判断是否有提现的数据 0 否 1是
- IsRobot int `json:"isRobot" bson:"isRobot"` // 是否为机器人
- IsLeader int `json:"isLeader" bson:"isLeader"` // 是否是社区长
- IsVip int `json:"isVip" bson:"isVip"` // 是否为VIP
- IsFirstBindingXID int `json:"isFirstBindingXID" bson:"isFirstBindingXID"` // 是否是第一次绑定推特
- Level int `json:"level" bson:"level"` // 等级
- Exp int `json:"exp" bson:"exp"` // 经验
- Gender int `json:"gender" bson:"gender"` // 性别
- Birthday string `json:"birthday" bson:"birthday"` // 生日
- Successions int `json:"successions" bson:"successions"` // 连续登陆天数
- MaxSuccessions int `json:"maxSuccessions" bson:"maxSuccessions"` // 最大连续等级天数
- PrevTime int64 `json:"prevTime" bson:"prevTime"` // 上次登陆时间
- LoginTime int64 `json:"loginTime" bson:"loginTime"` // 登陆时间
- LoginIP string `json:"loginIP" bson:"loginIP"` // 登录IP
- LoginFailure int `json:"loginFailure" bson:"loginFailure"` // 登陆失败次数
- JoinIP string `json:"joinIP" bson:"joinIP"` // 注册IP
- Rank int `json:"rank" bson:"rank"` // 排名
- JoinTime int64 `json:"joinTime" bson:"joinTime"` // 注册时间
- CreateTime int64 `json:"createTime" bson:"createTime"` // 创建时间
- UpdateTime int64 `json:"updateTime" bson:"updateTime"` // 更新时间
- DailyRefreshTime int64 `json:"dailyRefreshTime" bson:"dailyRefreshTime"` // 每日刷新时间
- HourRefreshTime int64 `json:"hourRefreshTime" bson:"hourRefreshTime"` // 每小时更新
- WeeklyRefreshTime int64 `json:"weeklyRefreshTime" bson:"weeklyRefreshTime"` // 每周刷新时间
- RollDay int64 `json:"rollDay" bson:"rollDay"` // 抽奖日期
- Status int `json:"status" bson:"status"` // 状态
- TagNum int `json:"tagNum" bson:"tagNum"` // 邀请裂变标签人数
- Total int64 `json:"total" bson:"total"` // 邀请裂变标签人数
- CurPlan int `json:"curPlan" bson:"curPlan"` // 当前任务完成进度
- TotalPlan int `json:"TotalPlan" bson:"totalPlan"` // 总进度
- }
|