mirror of
https://github.com/fumiama/paper-manager.git
synced 2026-06-11 19:50:24 +08:00
add table visit in user.db
This commit is contained in:
@@ -384,6 +384,7 @@ func APIHandler(w http.ResponseWriter, r *http.Request) {
|
||||
}
|
||||
|
||||
if h, ok := apimap[r.URL.Path]; ok {
|
||||
global.UserDB.VisitAPI()
|
||||
h.handle(w, r)
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user