2 Commits 18d092284f ... acb1e5e79b

Auteur SHA1 Message Date
  zenghong acb1e5e79b Merge branch 'develop_PDFReaderPro_V4.7.0' of git.kdan.cc:Mac_PDF/PDF_Office into develop_PDFReaderPro_V4.7.0 il y a 1 semaine
  zenghong 516e9f2b37 【会员系统】DMG 获取商品时机调整为成功获取登录状态之后 il y a 1 semaine
1 fichiers modifiés avec 9 ajouts et 3 suppressions
  1. 9 3
      PDF Office/PDF Master/AppDelegate.swift

+ 9 - 3
PDF Office/PDF Master/AppDelegate.swift

@@ -127,8 +127,17 @@ class AppDelegate: NSObject, NSApplicationDelegate, iRateDelegate{
                     } else {
                         KMMemberInfo.shared.isLogin = false
                     }
+#if VERSION_DMG
+            let model = KMProductModel()
+            model.getDMGProductDatas()
+#endif
                 }
             }
+        } else {
+#if VERSION_DMG
+            let model = KMProductModel()
+            model.getDMGProductDatas()
+#endif
         }
 
         KMStatusBar.system()
@@ -187,9 +196,6 @@ class AppDelegate: NSObject, NSApplicationDelegate, iRateDelegate{
 #if VERSION_DMG
         VerificationManager.default()
         KMDMGProductsManager.shareInstance.getProductDatas()
-        
-        let model = KMProductModel()
-        model.getDMGProductDatas()
 #else
         self.initiVersionData()
         IAPProductsManager.default().initIAP()