Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HistoryUserLogin ¶
type HistoryUserLogin struct { Id int `xorm:"not null pk autoincr INT(11)"` UserId int64 `xorm:"not null comment('用户ID')"` GeoRemoteAddr string `xorm:"not null comment('用户登录IP') VARCHAR(50)"` GeoCountry string `xorm:"not null comment('IP所在国家') VARCHAR(100)"` GeoCity string `xorm:"not null comment('IP所在城市') VARCHAR(100)"` DeviceDetector string `xorm:"not null comment('设备检测器') VARCHAR(1000)"` CreateTime time.Time `xorm:"not null comment('创建时间') DATETIME"` }
HistoryUserLogin struct
func (*HistoryUserLogin) Add ¶
func (e *HistoryUserLogin) Add(m HistoryUserLogin) (int64, error)
Add 添加
Click to show internal directories.
Click to hide internal directories.