1
0
mirror of https://github.com/fumiama/paper-manager.git synced 2026-06-23 20:16:28 +08:00

finish dashboard/anaylsis

This commit is contained in:
源文雨
2023-03-21 23:30:52 +08:00
parent 6269a9544f
commit f2a26a6067
5 changed files with 26 additions and 7 deletions

View File

@@ -769,6 +769,7 @@ func (u *UserDatabase) GetAnnualAPIVisitCount() (cnts [12]uint32) {
_ = u.db.Find(UserTableMonthlyAPIVisit, &v, "WHERE YM="+strconv.FormatUint(uint64(ym), 10))
cnts[i] = v.Count
i++
v.Count = 0
}
return
}