feat(payment): 优化套餐配置和支付服务
- 简化套餐配置结构,删除冗余的 default.yaml 和 us.yaml - 优化 Apple IAP 服务和验证逻辑 - 更新套餐数据模型和协议文档 - 添加支付相关测试用例
This commit is contained in:
@@ -23,17 +23,17 @@
|
||||
{
|
||||
"displayPrice" : "6.00",
|
||||
"familyShareable" : false,
|
||||
"internalID" : "basic_pack_001",
|
||||
"internalID" : "starter_pack_001",
|
||||
"introductoryOffer" : null,
|
||||
"localizations" : [
|
||||
{
|
||||
"description" : "基础信用点套餐",
|
||||
"displayName" : "基础包",
|
||||
"description" : "入门信用点套餐",
|
||||
"displayName" : "入门包",
|
||||
"locale" : "zh_CN"
|
||||
}
|
||||
],
|
||||
"productID" : "com.meeyao.qianwen.basic_pack",
|
||||
"referenceName" : "基础包",
|
||||
"productID" : "com.meeyao.qianwen.starter_pack",
|
||||
"referenceName" : "入门包",
|
||||
"type" : "Consumable"
|
||||
},
|
||||
{
|
||||
|
||||
@@ -32,6 +32,12 @@
|
||||
<string>需要将头像处理结果保存到您的相册</string>
|
||||
<key>NSMicrophoneUsageDescription</key>
|
||||
<string>需要麦克风权限用于语音追问</string>
|
||||
<key>NSLocalNetworkUsageDescription</key>
|
||||
<string>用于开发调试时连接本地调试服务。</string>
|
||||
<key>NSBonjourServices</key>
|
||||
<array>
|
||||
<string>_dartobservatory._tcp</string>
|
||||
</array>
|
||||
<key>UIApplicationSceneManifest</key>
|
||||
<dict>
|
||||
<key>UIApplicationSupportsMultipleScenes</key>
|
||||
|
||||
Reference in New Issue
Block a user