feat: Implement initial backend API server with various endpoints and background services, including an error account cleaner.

This commit is contained in:
2026-02-05 07:51:03 +08:00
parent ad1270b88d
commit db00d44a71
4 changed files with 22 additions and 14 deletions

View File

@@ -75,7 +75,7 @@ func getTotalAccountCount() (int, error) {
}
client := &http.Client{Timeout: 30 * time.Second}
url := fmt.Sprintf("%s/api/v1/admin/dashboard", config.Global.S2AApiBase)
url := fmt.Sprintf("%s/api/v1/admin/dashboard/stats", config.Global.S2AApiBase)
req, err := http.NewRequest("GET", url, nil)
if err != nil {