feat: 完善数据看板选择时间区间

This commit is contained in:
CaIon
2024-01-07 19:47:35 +08:00
parent ce05e7dd86
commit 1c2bba8979
5 changed files with 106 additions and 78 deletions

View File

@@ -116,6 +116,7 @@ func SetApiRouter(router *gin.Engine) {
dataRoute := apiRouter.Group("/data")
dataRoute.GET("/", middleware.AdminAuth(), controller.GetAllQuotaDates)
dataRoute.GET("/self", middleware.UserAuth(), controller.GetUserQuotaDates)
logRoute.Use(middleware.CORS())
{