修复查询网站日流量统计时可能不兼容MySQL8的问题

This commit is contained in:
刘祥超
2023-07-07 17:35:23 +08:00
parent 7389e5e54b
commit 87a81f59c7
2 changed files with 9 additions and 2 deletions

View File

@@ -140,6 +140,6 @@ func TestServerDailyStatDAO_FindStatsWithDay(t *testing.T) {
t.Fatal(err)
}
for _, stat := range stats {
t.Log(stat.TimeFrom, stat.TimeTo, stat.Bytes)
t.Log(stat.Day, stat.TimeFrom, stat.TimeTo, stat.Bytes)
}
}