Compare commits

..

2 Commits

Author SHA1 Message Date
hoteas 96d341aaab 修复数据库及时间bug 2022-06-21 00:06:34 +08:00
hoteas 1f25f511cc 增加mysql断线重连优化 2022-06-14 11:29:54 +08:00
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -156,7 +156,7 @@ func ObjToTime(obj interface{}, e ...*Error) *time.Time {
}
}
return &time.Time{}
return nil
}
func ObjToFloat64(obj interface{}, e ...*Error) float64 {
+1
View File
@@ -379,6 +379,7 @@ func (that *HoTimeDB) Exec(query string, args ...interface{}) (sql.Result, *Erro
}
return that.Exec(query, args...)
}
return resl, that.LastErr
}
return resl, that.LastErr