feat: add login log record

This commit is contained in:
engigu
2025-10-01 00:19:48 +08:00
parent 456d3aaf46
commit 6dbc8352e9
9 changed files with 156 additions and 8 deletions
+3
View File
@@ -82,6 +82,9 @@ func InitRouter(f embed.FS) *gin.Engine {
apiV1.POST("/settings/reset", v1.RestDefaultSettings)
apiV1.GET("/settings/getsetting", v1.GetUserSetting)
// login logs
apiV1.GET("/loginlogs/recent", v1.GetRecentLoginLogs)
// statistic
apiV1.GET("/statistic", v1.GetStatisticData)