Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoginLog ¶
type LoginLog struct { Id int64 `json:"id" gorm:"primary_key; auto_increment; not null"` // 设置字段 id 自增类型。 Username string `json:"username" gorm:"type:varchar(50); not null"` // 用户名 Ip string `json:"ip" gorm:"type:varchar(64); not null "` // ip 地址 CreateTime string `json:"createTime" gorm:"type:varchar(50); not null"` // 创建时间 }
用户model
Click to show internal directories.
Click to hide internal directories.