feat: 新增数据看板

This commit is contained in:
CaIon committed 2024-01-07 18:31:14 +08:00
1 parent ae77b5313f
commit dd0abc9447
16 files changed
+455 -6

No files matched your search

+3
View File
@@ -114,6 +114,9 @@ func SetApiRouter(router *gin.Engine) {
logRoute.GET("/self", middleware.UserAuth(), controller.GetUserLogs)
logRoute.GET("/self/search", middleware.UserAuth(), controller.SearchUserLogs)
dataRoute := apiRouter.Group("/data")
dataRoute.GET("/", middleware.AdminAuth(), controller.GetAllQuotaDates)
logRoute.Use(middleware.CORS())
{
logRoute.GET("/token", controller.GetLogByKey)