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

This commit is contained in:
CaIon committed 2024-01-07 19:47:35 +08:00
1 parent 7f60a91953
commit b45f3b1844
5 files changed
+106 -78

No files matched your search

+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())
{