Sfoglia il codice sorgente

【会员系统】购买成功补充界面

wangshuai 4 giorni fa
parent
commit
c42b055644

+ 1 - 0
PDF Office/PDF Master/Class/Purchase/DMG/KMPurchaseEmbeddedWindowController.swift

@@ -2064,6 +2064,7 @@ class KMPurchaseEmbeddedWindowController: NSWindowController {
                     let requestDic: NSDictionary = dic["result"] as? NSDictionary ?? [:]
                     let status:String = requestDic["status"]  as? String ?? ""
                     if(status.uppercased() == "COMPLETED") {
+                        KMPurchaseSuccessWindowController.shared.showWindow(nil)
                         NotificationCenter.default.post(name: NSNotification.Name(rawValue: "KMIAPSubscriptionLoadedNotification"), object: nil)
                         self.stopPolling()