sync: 同步 v1.0.4 并脱敏配置与镜像

This commit is contained in:
MiFaZhan
2026-10-29 14:36:49 +08:00
parent 743e8e6e6e
commit 2206a393f7
516 changed files with 18119 additions and 2253 deletions
@@ -0,0 +1,18 @@
package tasks
import "testing"
func TestAllFullSyncTaskRegistrations(t *testing.T) {
for name, method := range map[string]string{
"start_traffic_usage_full_sync": "StartTrafficUsageFullSync",
"syns_sim_status_queue": "SynsSimStatusQueue",
"syns_imei_queue": "SynsImeiQueue",
"sync_traffic_usage_daily": "SyncTrafficUsageDaily",
"sync_traffic_usage_monthly": "SyncTrafficUsageMonthly",
"start_traffic_usage_monthly_history": "StartTrafficUsageMonthlyHistory",
} {
if got := GetInnerTaskName(name); got != method {
t.Errorf("task %q registered as %q, want %q", name, got, method)
}
}
}