Commit a1f1377228e7be5b0ece69e76f659bdcc93016c4

Authored by 葛建军
2 parents 03b98268 226b549c
Exists in newLive

Merge branch 'newLive' of http://git.shunzhi.net/iosgroup/newlive into newLive

YouerLiveVideo/YouerLiveVideo/controllers/TVStation/ExcellentTVViewController.swift
@@ -315,14 +315,10 @@ class ExcellentTVInforViewCell: UICollectionViewCell{ @@ -315,14 +315,10 @@ class ExcellentTVInforViewCell: UICollectionViewCell{
315 self.playCount.text = "播放次数:" + "\(model!.f_Pv!)" 315 self.playCount.text = "播放次数:" + "\(model!.f_Pv!)"
316 self.subjectType.text = model!.f_Title 316 self.subjectType.text = model!.f_Title
317 } 317 }
318 -  
319 } 318 }
320 319
321 @IBAction func playBtnClick(_ sender: UIButton) { 320 @IBAction func playBtnClick(_ sender: UIButton) {
322 AppDelegate.instance().httpServer.addHistoryView(parameters: ["f_ViewType":self.model!.f_ResourceType as AnyObject,"f_ViewId":self.model!.f_Id as AnyObject,"f_ViewName":self.model!.f_Title as AnyObject]) { (str, error) in 321 AppDelegate.instance().httpServer.addHistoryView(parameters: ["f_ViewType":self.model!.f_ResourceType as AnyObject,"f_ViewId":self.model!.f_Id as AnyObject,"f_ViewName":self.model!.f_Title as AnyObject]) { (str, error) in
323 - if JSON.fromString(jsonString: str)?["status"].intValue == 1{  
324 -  
325 - }  
326 } 322 }
327 let url = URL(string:self.model!.f_ResourceUrl) 323 let url = URL(string:self.model!.f_ResourceUrl)
328 let player = AVPlayerViewController() 324 let player = AVPlayerViewController()