mirror of
https://github.com/linux-do/new-api.git
synced 2025-11-07 22:53:41 +08:00
feat: 完善数据看板选择时间区间
This commit is contained in:
@@ -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())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user