Commit cc7ae3b341819e6acb9bbadfcf32924418a84b56

Authored by “张旭”
1 parent 937546d8

有几集免费试听的判断

metaCode/Classes/Main/HomePages/View/PlayletHomePage/CNLivePlayletHomePageCell.swift
@@ -95,7 +95,7 @@ class CNLivePlayletHomePageCell:UITableViewCell{ @@ -95,7 +95,7 @@ class CNLivePlayletHomePageCell:UITableViewCell{
95 } 95 }
96 }else{ 96 }else{
97 //需要付费 97 //需要付费
98 - if model.product?.productType == "0"{ 98 + if model.product?.productType == "0" || model.product?.productType == "4"{
99 //免费 99 //免费
100 self.payIconImgView.isHidden = true 100 self.payIconImgView.isHidden = true
101 }else if model.product?.productType == "1"{ 101 }else if model.product?.productType == "1"{
metaCode/Classes/Main/HomePages/View/PlayletHomePage/CNLivePlayletHomePageHeaderCell.swift
@@ -242,7 +242,7 @@ class CNLivePlayletHomePageHeaderCell:UITableViewCell{ @@ -242,7 +242,7 @@ class CNLivePlayletHomePageHeaderCell:UITableViewCell{
242 //需要付费 242 //需要付费
243 self.paymentBtn.isUserInteractionEnabled = true 243 self.paymentBtn.isUserInteractionEnabled = true
244 self.paymentChangeStatus(isPayed: false) 244 self.paymentChangeStatus(isPayed: false)
245 - if model.product?.albumProductType == "0"{ 245 + if model.product?.albumProductType == "0" || model.product?.albumProductType == "4"{
246 //免费 246 //免费
247 self.payIconImgView.isHidden = true 247 self.payIconImgView.isHidden = true
248 }else if model.product?.albumProductType == "1"{ 248 }else if model.product?.albumProductType == "1"{