fix
无故事王国
2024-06-24 910e88b92778ae78f0444f5c6f6202668c3110f6
DolphinEnglishLearnStudent/AppDelegate.swift
@@ -15,6 +15,10 @@
            func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
                        // Override point for customization after application launch.
                        if WXApi.isWXAppInstalled(){
                                    WXApi.registerApp(WeChatAPPID, universalLink: "https://dollearn/app/")
                        }
                        return true
            }
@@ -32,6 +36,22 @@
                        // Use this method to release any resources that were specific to the discarded scenes, as they will not return.
            }
            func application(_ application: UIApplication, handleOpen url: URL) -> Bool {
                        return WXApi.handleOpen(url, delegate: self)
            }
            func application(_ application: UIApplication, open url: URL, sourceApplication: String?, annotation: Any) -> Bool {
                        return WXApi.handleOpen(url, delegate: self)
            }
}
extension AppDelegate:WXApiDelegate{
            func onReq(_ req: BaseReq) {
            }
            func onResp(_ resp: BaseResp) {
            }
}