sync: 同步 v1.0.4 开源代码并脱敏

This commit is contained in:
MiFaZhan
2026-10-29 14:52:43 +08:00
parent 32e4316ee4
commit 6893e21f07
136 changed files with 9851 additions and 436 deletions
+5 -5
View File
@@ -12,10 +12,10 @@ import (
)
const (
cascadeFailureReason = "same batch has invalid unsubscribe rows; this row was skipped"
validationSkipReason = "batch validation failed; unsub request was skipped"
emptyICCIDReason = "ICCID cannot be empty"
duplicateICCIDReason = "duplicate ICCID in batch"
cascadeFailureReason = "同一批次存在无效退订明细,该行已跳过"
validationSkipReason = "批次校验未通过,已跳过退订请求"
emptyICCIDReason = "ICCID不能为空"
duplicateICCIDReason = "ICCID在批次内重复"
)
type executor struct {
@@ -77,7 +77,7 @@ func (e *executor) saveResultFile(ctx context.Context, task *Task) {
func validateTask(task *Task) bool {
if task == nil || len(task.Details) == 0 {
if task != nil {
task.FailureReason = "unsub batch has no valid details"
task.FailureReason = "退订批次无有效明细"
}
return false
}