log remove

This commit is contained in:
Gordon 2022-02-25 15:02:02 +08:00
parent fe9e2aa287
commit 2c26efb5a9

View File

@ -11,7 +11,7 @@ func GetRegister(account string) (*db.Register, error) {
return nil, err
}
var r db.Register
return &r, dbConn.Debug().Table("registers").Where("account = ?",
return &r, dbConn.Table("registers").Where("account = ?",
account).Take(&r).Error
}