API功能性修复
This commit is contained in:
@@ -189,6 +189,18 @@ func registerAdminRoutesV2(v2 *gin.RouterGroup) {
|
||||
admin.GET("/config/fetch", handler.AdminConfigFetch)
|
||||
admin.POST("/config/save", handler.AdminConfigSave)
|
||||
admin.GET("/dashboard/summary", handler.AdminDashboardSummary)
|
||||
|
||||
admin.GET("/stat/getStats", handler.AdminDashboardSummary)
|
||||
admin.GET("/stat/getOverride", handler.AdminDashboardSummary)
|
||||
admin.GET("/stat/getTrafficRank", handler.AdminGetTrafficRank)
|
||||
admin.GET("/stat/getOrder", handler.AdminGetOrderStats)
|
||||
|
||||
admin.GET("/system/getSystemStatus", handler.AdminSystemStatus)
|
||||
admin.GET("/system/getQueueStats", handler.AdminSystemQueueStats)
|
||||
admin.GET("/system/getQueueWorkload", handler.AdminSystemQueueStats)
|
||||
admin.GET("/system/getQueueMasters", handler.AdminSystemQueueStats)
|
||||
admin.GET("/system/getHorizonFailedJobs", handler.AdminSystemQueueStats)
|
||||
|
||||
admin.GET("/server/group/fetch", handler.AdminServerGroupsFetch)
|
||||
admin.POST("/server/group/save", handler.AdminServerGroupSave)
|
||||
admin.POST("/server/group/drop", handler.AdminServerGroupDrop)
|
||||
@@ -204,7 +216,6 @@ func registerAdminRoutesV2(v2 *gin.RouterGroup) {
|
||||
admin.POST("/server/manage/batchDelete", handler.AdminServerManageBatchDelete)
|
||||
admin.POST("/server/manage/resetTraffic", handler.AdminServerManageResetTraffic)
|
||||
admin.POST("/server/manage/batchResetTraffic", handler.AdminServerManageBatchResetTraffic)
|
||||
admin.GET("/system/getSystemStatus", handler.AdminSystemStatus)
|
||||
admin.GET("/plan/fetch", handler.AdminPlansFetch)
|
||||
admin.POST("/plan/save", handler.AdminPlanSave)
|
||||
admin.POST("/plan/drop", handler.AdminPlanDrop)
|
||||
@@ -225,6 +236,10 @@ func registerAdminRoutesV2(v2 *gin.RouterGroup) {
|
||||
admin.POST("/user/drop", handler.AdminUserDelete)
|
||||
admin.GET("/ticket/fetch", handler.AdminTicketsFetch)
|
||||
admin.GET("/gift-card/status", handler.AdminGiftCardStatus)
|
||||
admin.GET("/traffic-reset/fetch", handler.AdminTrafficResetFetch)
|
||||
admin.GET("/traffic-reset/logs", handler.AdminTrafficResetFetch)
|
||||
admin.POST("/traffic-reset/reset-user", handler.AdminTrafficResetUser)
|
||||
admin.GET("/traffic-reset/user/:id/history", handler.AdminTrafficResetUserHistory)
|
||||
|
||||
// Integrated Admin Features
|
||||
admin.GET("/realname/records", handler.PluginRealNameRecords)
|
||||
|
||||
Reference in New Issue
Block a user