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

This commit is contained in:
CaIon
2024-01-07 19:47:35 +08:00
parent 7f60a91953
commit b45f3b1844
5 changed files with 106 additions and 78 deletions
+1
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())
{