- 在CheckoutOrderResponse结构中添加product_ids字段用于存储Apple IAP产品ID - 新增AppleIAP支付平台常量及映射 - 实现Apple IAP支付处理逻辑,生成对应的产品ID
This commit is contained in:
@@ -241,6 +241,7 @@ type CheckoutOrderResponse struct {
|
||||
Type string `json:"type"`
|
||||
CheckoutUrl string `json:"checkout_url,omitempty"`
|
||||
Stripe *StripePayment `json:"stripe,omitempty"`
|
||||
ProductIds []string `json:"product_ids,omitempty"`
|
||||
}
|
||||
|
||||
type CloseOrderRequest struct {
|
||||
|
||||
Reference in New Issue
Block a user