feat: Implement ChatGPT account registration flow and establish core backend API infrastructure with logging utilities.
This commit is contained in:
@@ -47,7 +47,7 @@ func HandleCleanErrorAccounts(w http.ResponseWriter, r *http.Request) {
|
||||
return
|
||||
}
|
||||
|
||||
logger.Info("开始清理错误账号...", "", "s2a")
|
||||
logger.Status("清理错误账号中...", "", "s2a")
|
||||
|
||||
// Step 1: 获取所有错误账号
|
||||
errorAccounts, err := fetchAllErrorAccounts()
|
||||
@@ -68,7 +68,7 @@ func HandleCleanErrorAccounts(w http.ResponseWriter, r *http.Request) {
|
||||
return
|
||||
}
|
||||
|
||||
logger.Info(fmt.Sprintf("找到 %d 个错误账号,开始删除...", len(errorAccounts)), "", "s2a")
|
||||
logger.Status(fmt.Sprintf("找到 %d 个错误账号,删除中...", len(errorAccounts)), "", "s2a")
|
||||
|
||||
// Step 2: 逐条删除
|
||||
success := 0
|
||||
|
||||
Reference in New Issue
Block a user