feat(user): 新增iap支付

This commit is contained in:
2024-11-27 01:58:05 +08:00
parent d1c897e55e
commit 4748bb0cfb
14 changed files with 338 additions and 5 deletions

View File

@@ -14,6 +14,7 @@ type Config struct {
Encrypt Encrypt
Alipay AlipayConfig
Wxpay WxpayConfig
Applepay ApplepayConfig
Ali AliConfig
WestConfig WestConfig
}
@@ -55,6 +56,15 @@ type WxpayConfig struct {
type AliConfig struct {
Code string
}
type ApplepayConfig struct {
ProductionVerifyURL string
SandboxVerifyURL string // 沙盒环境的验证 URL
Sandbox bool
BundleID string
IssuerID string
KeyID string
LoadPrivateKeyPath string
}
type WestConfig struct {
Url string
Key string