tuiguangm

This commit is contained in:
苏尹岚
2020-11-16 11:39:36 +08:00
parent 68478588b5
commit eaaa634e5a
3 changed files with 17 additions and 0 deletions

View File

@@ -56,6 +56,7 @@ 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"` //推广码
}
func (*User) TableUnique() [][]string {