Update loginlog.go
This commit is contained in:
1 parent
7af0f6d3fc
commit
d4de2e49d6
1 file changed
+1
@@ -87,6 +87,7 @@ func (e *LoginLog) GetPage(pageSize int, pageIndex int) ([]LoginLog, int32, erro
|
||||
func (e *LoginLog) Create() (LoginLog, error) {
|
||||
var doc LoginLog
|
||||
e.CreateTime = utils.GetCurrntTime()
|
||||
e.UpdateTime = utils.GetCurrntTime()
|
||||
e.CreateBy = "0"
|
||||
e.UpdateBy = "0"
|
||||
result := orm.Eloquent.Table("sys_loginlog").Create(&e)
|
||||
|
||||
Reference in new issue
Block a user