Browse Source

【会员系统】AI一年订阅领取Lite、Pro版本逻辑切换

wanjun 3 months ago
parent
commit
d2a950ccd9

+ 8 - 0
PDF Office/PDF Master/Class/Purchase/DMG/Verification/KMVerificationMessageViewController.m

@@ -327,11 +327,19 @@ NSPopoverDelegate>
     }
 #else
     if ([[KMMemberInfo shared].isHaveAIDiscount isEqualToString:@"1"]) {
+#if VERSION_FREE
+        if(IAPProductsManager.defaultManager.aiAllAccessPack12month_lite.isTrialPeriod == false) {
+            self.aiContendView.hidden = NO;
+            totalWidth+=aiWidth;
+            totalWidth+=4;
+        }
+#else
         if(IAPProductsManager.defaultManager.aiAllAccessPack12month_pro.isTrialPeriod == false) {
             self.aiContendView.hidden = NO;
             totalWidth+=aiWidth;
             totalWidth+=4;
         }
+#endif
     }
     KMUserScenarioType type = [KMMemberInfo shared].userScenarioType;