invite_apply.go 1.02 KB
Newer Older
chenweijian's avatar
chenweijian committed
1 2 3 4 5 6 7 8 9 10 11 12 13
package invite_cv

import "git.hilo.cn/hilo-common/resource/mysql"

type CvUserLevel struct {
	UserId          mysql.ID `json:"userId"`          // 用户id
	WealthUserGrade uint32   `json:"wealthUserGrade"` // 财富等级
	CharmUserGrade  uint32   `json:"charmUserGrade"`  // 魅力等级
	ActiveUserGrade uint32   `json:"activeUserGrade"` // 活跃等级
	NobleLevel      uint16   `json:"nobleLevel"`      // 贵族等级
}

type InviteApplyRes struct {
chenweijian's avatar
chenweijian committed
14 15 16 17 18 19 20 21 22 23 24 25 26
	NewUserCode string               `json:"newUserCode"`
	Platform    string               `json:"platform"`
	Recharge    string               `json:"recharge"`
	UserCode    string               `json:"userCode"`
	CreateUnix  int64                `json:"createUnix"`
	Level       string               `json:"level"`
	Status      uint8                `json:"status"` // 状态0.未审核1.已通过2.已拒绝
	NumList     []*InviteApplyNumRes `json:"numList"`
}

type InviteApplyNumRes struct {
	Type int `json:"type"` // 1.已申请2.待审核3.已通过4.已拒绝"
	Num  int `json:"num"`
chenweijian's avatar
chenweijian committed
27
}