feat: Add team registration execution API handler.
This commit is contained in:
@@ -369,6 +369,13 @@ func runTeamRegProcess(config TeamRegConfig) {
|
||||
teamRegState.Imported = count
|
||||
teamRegState.mu.Unlock()
|
||||
addTeamRegLog(fmt.Sprintf("[系统] 成功导入 %d 个账号", count))
|
||||
|
||||
// 导入成功后删除 JSON 文件
|
||||
if err := os.Remove(outputFile); err != nil {
|
||||
addTeamRegLog(fmt.Sprintf("[警告] 删除临时文件失败: %v", err))
|
||||
} else {
|
||||
addTeamRegLog(fmt.Sprintf("[系统] 已清理临时文件: %s", filepath.Base(outputFile)))
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user