This commit is contained in:
skiffer-git 2022-02-14 16:03:55 +08:00
parent a8334a22f8
commit 6f1a5eb79c
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit a85c10dbffbb797b5b2091e209ff67a5534b9bfc
Subproject commit e43ec7d427a84702eea7a6aaa358a7a0a809019d

View File

@ -44,7 +44,7 @@ func UserRegister(user db.User) error {
if user.Birth.Unix() < 0 {
user.Birth = utils.UnixSecondToTime(0)
}
err = dbConn.Table("users").Create(&user).Error
err = dbConn.Debug().Table("users").Create(&user).Error
if err != nil {
return err
}