2 Commits fc44be9ed2 ... 0ca6199807

Autor SHA1 Mensaje Fecha
  tangchao 0ca6199807 【fix】【验证码】DMG,测试黑五时,验证码发送太频繁缺简中 hace 1 día
  tangchao f043c3508c 【fix】【引导】App Store免费版,登录全平台标准版年订阅用户,首次打开转档功能,点击“Convert All Pages”应该要提示联系客服 hace 2 días

+ 20 - 20
PDF Office/PDF Master/Class/PDFWindowController/ViewController/KMMainViewController.swift

@@ -1032,26 +1032,26 @@ import Cocoa
                         if KMMemberInfo.shared.isPermitConvert == true {
                             
                         } else {
-                            var vc = KMToolCompareWindowController(toolType: .Convert, selectNum: 1)
-                            vc.showWindow(nil)
-                        }
-                        let userScenarioType = KMMemberInfo.shared.userScenarioType
-                        let platforms = KMMemberInfo.shared.vip_platforms
-                        let platformsArray = platforms
-                            .components(separatedBy: ",")
-                            .map { $0.trimmingCharacters(in: .whitespaces) }
-                        if userScenarioType == .lite_type2 ||
-                                    userScenarioType == .lite_type4 ||
-                                    userScenarioType == .lite_type6 ||
-                                    userScenarioType == .lite_type8 {
-                            // 订阅中,Android单平台高级版月订阅或者全平台标准版年订阅,不能升级,提示联系客服
-                            if !platformsArray.contains("mac") ||
-                                KMMemberInfo.shared.vip_levels != "3" {
-                                let alert = NSAlert()
-                                alert.alertStyle = .critical
-                                alert.informativeText = NSLocalizedString("Sorry, you do not have the rights to this paid feature and cannot use it. If you have any questions, please contact customer service at support@pdfreaderpro.com", comment: "")
-                                alert.addButton(withTitle: NSLocalizedString("Got it", comment: ""))
-                                alert.runModal()
+//                            var vc = KMToolCompareWindowController(toolType: .Convert, selectNum: 1)
+//                            vc.showWindow(nil)
+                            let userScenarioType = KMMemberInfo.shared.userScenarioType
+                            let platforms = KMMemberInfo.shared.vip_platforms
+                            let platformsArray = platforms
+                                .components(separatedBy: ",")
+                                .map { $0.trimmingCharacters(in: .whitespaces) }
+                            if userScenarioType == .lite_type2 ||
+                                        userScenarioType == .lite_type4 ||
+                                        userScenarioType == .lite_type6 ||
+                                        userScenarioType == .lite_type8 {
+                                // 订阅中,Android单平台高级版月订阅或者全平台标准版年订阅,不能升级,提示联系客服
+                                if !platformsArray.contains("mac") ||
+                                    KMMemberInfo.shared.vip_levels != "3" {
+                                    let alert = NSAlert()
+                                    alert.alertStyle = .critical
+                                    alert.informativeText = NSLocalizedString("Sorry, you do not have the rights to this paid feature and cannot use it. If you have any questions, please contact customer service at support@pdfreaderpro.com", comment: "")
+                                    alert.addButton(withTitle: NSLocalizedString("Got it", comment: ""))
+                                    alert.runModal()
+                                }
                             }
                         }
                     } else {

+ 2 - 11
PDF Office/PDF Master/MemberCenter/View/KMEnterVerificationCodeView.swift

@@ -62,17 +62,8 @@ class KMEnterVerificationCodeView: KMBaseXibView {
 
         viewModel.countDown(type: .reset) { result , params in
             if let data = params.first as? KMMemberCenterResult {
-                if data.code == KMMemberCenterErrorCodeType.VERIFY_CODE_SEND_TOO_QUICKLY.rawValue {
-                    KMMainThreadExecute {
-                        let alert = NSAlert()
-                        let message = data.msg ?? KMMemberCenterManager.typeOfMessage(type: .VERIFY_CODE_SEND_TOO_QUICKLY)
-                        alert.messageText = NSLocalizedString(message, comment: "")
-                        alert.runModal()
-                    }
-                } else {
-                    if result == false {
-                        KMMemberCenterManager.showAlert(code: .init(rawValue: data.code), message: data.msg, callback: nil)
-                    }
+                if result == false {
+                    KMMemberCenterManager.showAlert(code: .init(rawValue: data.code), message: data.msg, callback: nil)
                 }
             }