This commit is contained in:
@@ -10,7 +10,7 @@ import (
|
||||
// @description: 控制台相关接口
|
||||
// @param r
|
||||
func DashboardApi(r *gin.RouterGroup) {
|
||||
dashboard := r.Group("dashboard", middleware.Authorization(), middleware.RequestLog())
|
||||
dashboard := r.Group("dashboard", middleware.RequestLog(), middleware.Authorization())
|
||||
{
|
||||
dashboard.GET("/request/list", api.Dashboard().List) // 请求日志
|
||||
dashboard.GET("/daily-poetry", api.Dashboard().DailyPoetry) // 每日诗词
|
||||
|
||||
Reference in New Issue
Block a user