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

This commit is contained in:
GoEdgeLab
2023-07-07 17:35:23 +08:00
parent 47f22087c4
commit 9d5fe7d3a1
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)
}
}