Commit 170ab3c7 authored by Steven杜宇's avatar Steven杜宇

// 消息

parent 31972f3c
......@@ -134,6 +134,10 @@ extension AppDelegate: JPUSHRegisterDelegate {
if msgType == YHMessageType.trip.rawValue {
if let url = userInfo["url"] as? String {
YHMessageDetailListVC.detailWithTripUrl(url)
if let msgId_str = userInfo["msg_id"] as? String, let msgId = Int(msgId_str) {
self.viewModel.readMessages(type: YHMessageType.trip.rawValue, msgIds: [msgId], isAllRead: false) {_, _ in
}
}
}
return
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment