同步历史版本代码
This commit is contained in:
@@ -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",
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user