邀请4人得会员

This commit is contained in:
苏尹岚
2020-11-24 08:42:25 +08:00
parent 6d54e23321
commit ec97835313
7 changed files with 76 additions and 22 deletions

View File

@@ -56,8 +56,11 @@ type User struct {
LastLoginAt *time.Time `orm:"null" json:"lastLoginAt"`
LastLoginIP string `orm:"size(64);column(last_login_ip)" json:"lastLoginIP"`
LastLoginType string `orm:"size(16)" json:"lastLoginType"`
PopCode string `json:"popCode"` //推广码
PopUser string `json:"popUser"` //推广人
PopCode string `json:"popCode"` //推广码
PopUser string `json:"popUser"` //推广人
PopCount int `json:"popCount"` //推荐人数
PopFlag int `json:"popFlag"` //是否已通过推荐获得免费会员
PopedFlag int `json:"popedFlag"` //被邀请标志(弹框)
}
func (*User) TableUnique() [][]string {