无故事王国
2023-10-28 576aec37fe9b5eb395097be1ced0680ae97590f8
WanPai/AppDelegate.swift
@@ -19,6 +19,7 @@
    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
      sleep(2)
        Services.startNetworkMonitor()
        YYPaymentManager.shared.configuredWeChat(appID: WeChatAPPID, universalLink: WechatUniversalLinks)
        YYPaymentManager.shared.configuredAlipay(appScheme: APPScheme)
@@ -114,6 +115,7 @@
    func needLogin(){
      UserViewModel.clearToken()
      if JQ_currentViewController() is LoginVC{return}
      let loginNav = LoginNav(rootViewController: LoginVC())
      loginNav.modalPresentationStyle = .fullScreen
      JQ_currentViewController().present(loginNav, animated: true)