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,20 @@
package lifecycle
import (
"encoding/json"
"testing"
)
func TestBatchExecuteMessageJSONContract(t *testing.T) {
body, err := json.Marshal(BatchExecuteMessage{
BatchNo: "STP202607170001",
BatchType: 104,
})
if err != nil {
t.Fatalf("marshal batch execute message: %v", err)
}
const expected = `{"batchNo":"STP202607170001","batchType":104}`
if string(body) != expected {
t.Fatalf("unexpected batch execute message: %s", body)
}
}