Change ModifyTime to UpdateTime.

This commit is contained in:
zicla
2018-11-23 20:27:57 +08:00
parent b557e9717a
commit 3a5c4f6302
9 changed files with 15 additions and 15 deletions

View File

@ -109,7 +109,7 @@ func InstallDatabase() {
timeUUID, _ := uuid.NewV4()
user.Uuid = string(timeUUID.String())
user.CreateTime = time.Now()
user.ModifyTime = time.Now()
user.UpdateTime = time.Now()
user.LastTime = time.Now()
user.Sort = time.Now().UnixNano() / 1e6
user.Role = USER_ROLE_ADMINISTRATOR