             action = {
                 // 课表页
                 appDelegate.switchTabBarControllerWithIndex(0)
-                guard let viewController = getActivityViewController() else { return }
+                guard let viewController = getActivityViewController() as? RootViewController else { return }
+                viewController.switchToLiveCourseMenu()
             }
         }
         

            body = alert
        }else if let alert = apsInfo["alert"] as? [AnyHashable: Any] {
            title = alert["title"] as? String
            subTitle = alert["subtitle"] as? String
            body = alert["body"] as? String
        }
        

        
        // 消息内容
        var title: String? = "通知消息"
        // var subTitle: String? = ""
        var body: String? = "你有一条新消息"
        
        // 获取通知消息 [标题]、[副标题]、[消息内容]
