no message
This commit is contained in:
parent
8ade965635
commit
0128cd3858
@ -154,7 +154,7 @@ extension APUploadIAPListVC {
|
|||||||
} else {
|
} else {
|
||||||
await createInAppPurchase(appId: appId, product: product, oldIAPs: oldIAPs, ascAPI: ascAPI)
|
await createInAppPurchase(appId: appId, product: product, oldIAPs: oldIAPs, ascAPI: ascAPI)
|
||||||
}
|
}
|
||||||
}
|
}Coins Pack Week 19.90
|
||||||
|
|
||||||
self.enterBtn.isEnabled = true
|
self.enterBtn.isEnabled = true
|
||||||
APHUD.hide()
|
APHUD.hide()
|
||||||
@ -182,8 +182,7 @@ extension APUploadIAPListVC {
|
|||||||
ascAPI.addMessage("内购已经存在:\(product.productId) ,更新信息失败!❌ ")
|
ascAPI.addMessage("内购已经存在:\(product.productId) ,更新信息失败!❌ ")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
// 2. 商品价格档位
|
|
||||||
await updateIAPPricePoint(iapId: iap.id, product: product, ascAPI: ascAPI)
|
|
||||||
|
|
||||||
// 3. 商品本地化语言
|
// 3. 商品本地化语言
|
||||||
ascAPI.addMessage("开始更新内购本地化版本:\(product.productId)")
|
ascAPI.addMessage("开始更新内购本地化版本:\(product.productId)")
|
||||||
@ -212,6 +211,9 @@ extension APUploadIAPListVC {
|
|||||||
// 5. 销售国家或地区
|
// 5. 销售国家或地区
|
||||||
await updateIAPAvailableTerritories(iapId: iap.id, product: product, ascAPI: ascAPI)
|
await updateIAPAvailableTerritories(iapId: iap.id, product: product, ascAPI: ascAPI)
|
||||||
|
|
||||||
|
// 2. 商品价格档位
|
||||||
|
await updateIAPPricePoint(iapId: iap.id, product: product, ascAPI: ascAPI)
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
// 1. 创建新的商品
|
// 1. 创建新的商品
|
||||||
guard let iap = await ascAPI.createInAppPurchases(appId: appId, product: product) else {
|
guard let iap = await ascAPI.createInAppPurchases(appId: appId, product: product) else {
|
||||||
@ -219,8 +221,7 @@ extension APUploadIAPListVC {
|
|||||||
ascAPI.addMessage("内购商品:\(product.productId) ,创建失败!❌ ")
|
ascAPI.addMessage("内购商品:\(product.productId) ,创建失败!❌ ")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
// 2. 商品价格档位
|
|
||||||
await updateIAPPricePoint(iapId: iap.id, product: product, ascAPI: ascAPI)
|
|
||||||
|
|
||||||
// 3. 商品本地化语言
|
// 3. 商品本地化语言
|
||||||
for localization in product.localizations {
|
for localization in product.localizations {
|
||||||
@ -232,6 +233,9 @@ extension APUploadIAPListVC {
|
|||||||
|
|
||||||
// 5. 销售国家或地区
|
// 5. 销售国家或地区
|
||||||
await updateIAPAvailableTerritories(iapId: iap.id, product: product, ascAPI: ascAPI)
|
await updateIAPAvailableTerritories(iapId: iap.id, product: product, ascAPI: ascAPI)
|
||||||
|
|
||||||
|
// 2. 商品价格档位
|
||||||
|
await updateIAPPricePoint(iapId: iap.id, product: product, ascAPI: ascAPI)
|
||||||
}
|
}
|
||||||
|
|
||||||
ascAPI.addMessage("内购商品:\(product.productId),\(product.name) ,上传完成!\n")
|
ascAPI.addMessage("内购商品:\(product.productId),\(product.name) ,上传完成!\n")
|
||||||
@ -497,15 +501,15 @@ extension APUploadIAPListVC {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// 3. 商品价格档位
|
|
||||||
await updateSubscriptionPricePoint(iapId: iap.id, product: product, ascAPI: ascAPI)
|
|
||||||
|
|
||||||
// 4. 商品截图
|
// 4. 商品截图
|
||||||
await createSubscriptionScreenshot(iapId: iap.id, product: product, ascAPI: ascAPI)
|
await createSubscriptionScreenshot(iapId: iap.id, product: product, ascAPI: ascAPI)
|
||||||
|
|
||||||
// 5. 销售国家或地区
|
// 5. 销售国家或地区
|
||||||
await updateSubscriptionAvailableTerritories(iapId: iap.id, product: product, ascAPI: ascAPI)
|
await updateSubscriptionAvailableTerritories(iapId: iap.id, product: product, ascAPI: ascAPI)
|
||||||
|
|
||||||
|
// 3. 商品价格档位
|
||||||
|
await updateSubscriptionPricePoint(iapId: iap.id, product: product, ascAPI: ascAPI)
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
// 1. 创建新的商品
|
// 1. 创建新的商品
|
||||||
guard let iapGroupId = currentSubGroup?.id, let iap = await ascAPI.createSubscription(iapGroupId: iapGroupId, product: product) else {
|
guard let iapGroupId = currentSubGroup?.id, let iap = await ascAPI.createSubscription(iapGroupId: iapGroupId, product: product) else {
|
||||||
@ -522,14 +526,16 @@ extension APUploadIAPListVC {
|
|||||||
// await createSubscriptionLocalization(iapId: iap.id, localization: localization, product: product, ascAPI: ascAPI)
|
// await createSubscriptionLocalization(iapId: iap.id, localization: localization, product: product, ascAPI: ascAPI)
|
||||||
// }
|
// }
|
||||||
|
|
||||||
// 3. 商品价格档位
|
|
||||||
await updateSubscriptionPricePoint(iapId: iap.id, product: product, ascAPI: ascAPI)
|
|
||||||
|
|
||||||
// 4. 商品截图
|
// 4. 商品截图
|
||||||
await createSubscriptionScreenshot(iapId: iap.id, product: product, ascAPI: ascAPI)
|
await createSubscriptionScreenshot(iapId: iap.id, product: product, ascAPI: ascAPI)
|
||||||
|
|
||||||
// 5. 销售国家或地区
|
// 5. 销售国家或地区
|
||||||
await updateSubscriptionAvailableTerritories(iapId: iap.id, product: product, ascAPI: ascAPI)
|
await updateSubscriptionAvailableTerritories(iapId: iap.id, product: product, ascAPI: ascAPI)
|
||||||
|
|
||||||
|
// 3. 商品价格档位
|
||||||
|
await updateSubscriptionPricePoint(iapId: iap.id, product: product, ascAPI: ascAPI)
|
||||||
}
|
}
|
||||||
|
|
||||||
ascAPI.addMessage("订阅商品:\(product.productId),\(product.name) ,上传完成!\n")
|
ascAPI.addMessage("订阅商品:\(product.productId),\(product.name) ,上传完成!\n")
|
||||||
|
|||||||
BIN
IAP-coins_pack.xlsx
Normal file
BIN
IAP-coins_pack.xlsx
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user