From e86e19e5e5909f46e09adec1df430e0214a81590 Mon Sep 17 00:00:00 2001
From: 无故事王国 <841720330@qq.com>
Date: 星期三, 18 十月 2023 18:34:19 +0800
Subject: [PATCH] 修复BUG

---
 WanPai/SceneDelegate.swift |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/WanPai/SceneDelegate.swift b/WanPai/SceneDelegate.swift
index fb1f744..9107a2e 100644
--- a/WanPai/SceneDelegate.swift
+++ b/WanPai/SceneDelegate.swift
@@ -76,6 +76,11 @@
 			}
 		}
 
+		if ((URLContexts.first?.url.absoluteString.contains("weparklife://safepay")) != nil){
+			let url = URLContexts.first!.url
+			YYPaymentManager.shared.handleApplication(UIApplication.shared, open: url, options: [:])
+		}
+
 		if URLContexts.first!.url.host == "resendContextReqByScheme"{
 			WXApi.handleOpen(URLContexts.first!.url, delegate: YYPaymentManager.shared)
 		}

--
Gitblit v1.7.1