API功能性修复
All checks were successful
build / build (api, amd64, linux) (push) Successful in -43s
build / build (api, arm64, linux) (push) Successful in -44s
build / build (api.exe, amd64, windows) (push) Successful in -43s

This commit is contained in:
CN-JS-HuiBai
2026-04-17 15:13:43 +08:00
parent 981ee4f406
commit 25fd919477
359 changed files with 499761 additions and 844 deletions

View File

@@ -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)