修复数据库及时间bug

This commit is contained in:
hoteas
2022-06-21 00:06:34 +08:00
parent 5d4d1e693b
commit f5af9424f0
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -341,7 +341,7 @@ func (that *HoTimeDB) Query(query string, args ...interface{}) []Map {
}
return that.Query(query, args...)
}
return that.Query(query, args...)
return nil
}
return that.Row(resl)
@@ -379,7 +379,7 @@ func (that *HoTimeDB) Exec(query string, args ...interface{}) (sql.Result, *Erro
}
return that.Exec(query, args...)
}
return that.Exec(query, args...)
return resl, that.LastErr
}
return resl, that.LastErr