ソースを参照

Merge branch 'develop_PDFReaderPro_V4.7.0' of git.kdan.cc:Mac_PDF/PDF_Office into develop_PDFReaderPro_V4.7.0

dinglingui 3 ヶ月 前
コミット
433a672112

+ 6 - 4
PDF Office/PDF Master/MemberCenter/Model/KMMemberInfo.swift

@@ -565,8 +565,9 @@ import Cocoa
                     userScenarioType == .lite_type4 ||
                     userScenarioType == .lite_type6 ||
                     userScenarioType == .lite_type8 {
-            // 订阅中,Android单平台高级版月订阅,不能升级,提示联系客服
-            if !platformsArray.contains("mac") {
+            // 订阅中,Android单平台高级版月订阅或者全平台标准版年订阅,不能升级,提示联系客服
+            if !platformsArray.contains("mac") ||
+                KMMemberInfo.shared.vip_levels != "3" {
                 let alert = NSAlert()
                 alert.alertStyle = .critical
                 alert.informativeText = NSLocalizedString("Contact Us", comment: "")
@@ -618,8 +619,9 @@ import Cocoa
             }
             KMProductCompareWC.shared.showWindow(nil)
         } else if userScenarioType == .pro_type5 {
-            // 订阅中,Android单平台高级版月订阅,不能升级,提示联系客服
-            if !platformsArray.contains("mac") {
+            // 订阅中,Android单平台高级版月订阅或者全平台标准版年订阅,不能升级,提示联系客服
+            if !platformsArray.contains("mac") ||
+                KMMemberInfo.shared.vip_levels != "3" {
                 let alert = NSAlert()
                 alert.alertStyle = .critical
                 alert.informativeText = NSLocalizedString("Contact Us", comment: "")