1
This commit is contained in:
@@ -57,8 +57,8 @@ type User struct {
|
|||||||
LastLoginAt *time.Time `orm:"null" json:"lastLoginAt"`
|
LastLoginAt *time.Time `orm:"null" json:"lastLoginAt"`
|
||||||
LastLoginIP string `orm:"size(64);column(last_login_ip)" json:"lastLoginIP"`
|
LastLoginIP string `orm:"size(64);column(last_login_ip)" json:"lastLoginIP"`
|
||||||
LastLoginType string `orm:"size(16)" json:"lastLoginType"`
|
LastLoginType string `orm:"size(16)" json:"lastLoginType"`
|
||||||
OpenId string `json:"open_id" db:"open_id"` // 微信用户openId
|
OpenId string `orm:"size(255);column(open_id)" json:"open_id" db:"open_id"` // 微信用户openId
|
||||||
UnionId string `json:"union_id" db:"union_id"` // 微信用户Id
|
UnionId string `orm:"size(255);column(union_id)" json:"union_id" db:"union_id"` // 微信用户Id
|
||||||
}
|
}
|
||||||
|
|
||||||
func (user *User) TableUnique() [][]string {
|
func (user *User) TableUnique() [][]string {
|
||||||
|
|||||||
Reference in New Issue
Block a user