同步历史版本代码

This commit is contained in:
2026-03-03 09:32:22 -08:00
parent 7d46b31866
commit 4d8516b2e1
140 changed files with 8399 additions and 489 deletions
+13
View File
@@ -10,6 +10,7 @@ const (
EPay
Balance
CryptoSaaS
AppleIAP
UNSUPPORTED Platform = -1
)
@@ -18,6 +19,7 @@ var platformNames = map[string]Platform{
"Stripe": Stripe,
"AlipayF2F": AlipayF2F,
"EPay": EPay,
"AppleIAP": AppleIAP,
"balance": Balance,
"unsupported": UNSUPPORTED,
}
@@ -80,5 +82,16 @@ func GetSupportedPlatforms() []types.PlatformInfo {
"secret_key": "Secret Key",
},
},
{
Platform: AppleIAP.String(),
PlatformUrl: "https://developer.apple.com/in-app-purchase/",
PlatformFieldDescription: map[string]string{
"product_ids": "Product IDs (comma separated)",
"key_id": "Key ID",
"issuer_id": "Issuer ID",
"private_key": "Private Key (.p8 content)",
"sandbox": "Sandbox Mode",
},
},
}
}