Browse Source

【会员系统】修复“APPstore比较表价格获取失败”

wanjun 6 ngày trước cách đây
mục cha
commit
11d205db9a
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      PDF Office/PDF Master/Class/Purchase/IAPProductsManager.m

+ 2 - 2
PDF Office/PDF Master/Class/Purchase/IAPProductsManager.m

@@ -134,7 +134,7 @@ NSString * const KMIAPSubscriptionLoadedNotification = @"KMIAPSubscriptionLoaded
         if (flagDis.price) {
             price = [self discountFormattedPrice:false price:flagDis.price];
         } else {
-            price = [NSString stringWithFormat:@"USD $%0.2f", [self.offersPrice doubleValue]];
+            price = [NSString stringWithFormat:@"USD $%0.2f", [self.offersPriceNumber doubleValue]];
 #ifndef VERSION_DMG
             // 获取产品价格信息
             [[IAPProductsManager defaultManager] loadAllProducts];
@@ -184,7 +184,7 @@ NSString * const KMIAPSubscriptionLoadedNotification = @"KMIAPSubscriptionLoaded
             if (mouths <= 0) {
                 mouths = 1.0;
             }
-            price = [NSString stringWithFormat:@"USD $%0.2f", [self.offersAveragePrice doubleValue]/mouths];
+            price = [NSString stringWithFormat:@"USD $%0.2f", [self.offersPriceNumber doubleValue]/mouths];
         }
 #ifndef VERSION_DMG
         // 获取产品价格信息