Commit 9f7ce875 authored by David黄金龙's avatar David黄金龙

Merge branch 'youhua-dev' of http://gitlab.galaxy-immi.com/mobile-group/galaxy-iOS into youhua-dev

* 'youhua-dev' of http://gitlab.galaxy-immi.com/mobile-group/galaxy-iOS:
  //  删除不必要的浏览请求
parents 55b4a85f c7119dec
......@@ -339,15 +339,10 @@ extension YHSearchInfomationVC: UITableViewDelegate, UITableViewDataSource {
let model = items[indexPath.section]
if model.type == 1 { // 视频
if !model.media_url.isEmpty, let url = URL(string: model.media_url) {
let vc = YHVideoPlayerVC()
vc.url = model.media_url
vc.id = model.id
self.navigationController?.pushViewController(vc)
DispatchQueue.main.async {
self.homeViewModel.getWebDetail(model.id) { success, error in
}
}
}
return
}
......
......@@ -102,11 +102,6 @@ extension YHHomeCollectionViewCell {
self.updataSubViews()
}
self.parentViewController?.navigationController?.pushViewController(vc)
DispatchQueue.main.async {
self.viewModel.getWebDetail(listModel.id) { success, error in
}
}
}
}
......
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