| | |
| | | needLogin();return |
| | | } |
| | | loginSuccess() |
| | | |
| | | if WXApi.isWXAppInstalled(){ |
| | | WeChatTools.sendAuthRequest() |
| | | } |
| | | } |
| | | |
| | | func sceneDidDisconnect(_ scene: UIScene) { |
| | |
| | | // Use this method to save data, release shared resources, and store enough scene-specific state information |
| | | // to restore the scene back to its current state. |
| | | } |
| | | |
| | | func scene(_ scene: UIScene, openURLContexts URLContexts: Set<UIOpenURLContext>) { |
| | | |
| | | |
| | | } |
| | | |
| | | func scene(_ scene: UIScene, continue userActivity: NSUserActivity) { |
| | | WXApi.handleOpenUniversalLink(userActivity, delegate: self) |
| | | } |
| | | |
| | | } |
| | | |
| | | extension SceneDelegate:WXApiDelegate{ |
| | | func onReq(_ req: BaseReq) { |
| | | |
| | | } |
| | | |
| | | func onResp(_ resp: BaseResp) { |
| | | |
| | | } |
| | | } |
| | | |
| | | extension SceneDelegate{ |