2 Commity 18d092284f ... acb1e5e79b

Autor SHA1 Wiadomość Data
  zenghong acb1e5e79b Merge branch 'develop_PDFReaderPro_V4.7.0' of git.kdan.cc:Mac_PDF/PDF_Office into develop_PDFReaderPro_V4.7.0 1 tydzień temu
  zenghong 516e9f2b37 【会员系统】DMG 获取商品时机调整为成功获取登录状态之后 1 tydzień temu
1 zmienionych plików z 9 dodań i 3 usunięć
  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()