Browse Source

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

tangchao 1 week ago
parent
commit
f47c771c94

+ 3 - 1
PDF Office/PDF Master/MemberCenter/Model/KMMemberCenterManager.swift

@@ -1315,7 +1315,9 @@ class KMMemberCenterManager: NSObject {
                     dic = (info as? NSDictionary) ?? [:]
                 }
                 let requestCode: Int = dic["code"] as? Int ?? 0
-                if requestCode == 200 {
+                let requestDic: NSDictionary = dic["result"] as? NSDictionary ?? [:]
+                let status:String = requestDic["status"]  as? String ?? ""
+                if requestCode == 200  &&  status.uppercased() == "COMPLETED"{
                     complete(true, dic)
                 } else {
                     complete(false, dic)