无故事王国
2023-10-07 0e4747bd8b31ae22575e47156ba34d8a22b98fed
WanPai/AppDelegate.swift
@@ -23,6 +23,7 @@
        YYPaymentManager.shared.configuredAlipay(appScheme: APPScheme)
        AMapServices.shared().enableHTTPS = true
        AMapServices.shared().apiKey = AMapKey
        return true
    }
@@ -51,6 +52,7 @@
    func application(_ application: UIApplication, open url: URL, sourceApplication: String?, annotation: Any) -> Bool {
        return YYPaymentManager.shared.handleApplication(application, open: url, sourceApplication: sourceApplication, annotation: annotation)
    }
    func application(_ application: UIApplication, handleOpen url: URL) -> Bool {
      if ((url.scheme?.contains("wechat")) != nil){
         return WXApi.handleOpen(url, delegate: self)
@@ -58,6 +60,7 @@
        return YYPaymentManager.shared.handleApplication(application, handleOpen: url)
    }
    // NOTE: 9.0以后使用新API接口
    func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {
      if ((url.scheme?.contains("wechat")) != nil){