Update loginlog.go

This commit is contained in:
wenjianzhang authored and GitHub committed 2020-03-31 21:44:00 +08:00
1 parent 7af0f6d3fc
commit d4de2e49d6
1 file changed
+1
+1
View File
@@ -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)