fix: 完成商务迁移复核与接口优化并清理历史资料

This commit is contained in:
Yvan
2026-11-04 14:45:02 +08:00
parent 5a96be6a79
commit 297e80827d
176 changed files with 6803 additions and 6002 deletions
@@ -0,0 +1,16 @@
package integration
import "testing"
func TestIntegrationCertificateAliases(t *testing.T) {
for _, key := range []string{"app_cert_content", "root_cert_path", "alipay_public_cert_content", "pkcs12_content", "p12_file", "cert_content", "key_content", "cert_path", "key_file", "client_key", "public_key_pem"} {
if !IsIntegrationSecretKey(key) {
t.Errorf("secret alias was not recognized: %s", key)
}
}
for _, key := range []string{"content", "path", "notify_url", "template_content", "content_type", "platform_serial_no", "public_key_id"} {
if IsIntegrationSecretKey(key) {
t.Errorf("public field was masked: %s", key)
}
}
}