Commit cd9fe9a1 authored by 刘俊宏's avatar 刘俊宏

判断无快件协议bug

parent 38c291aa
......@@ -731,9 +731,18 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
vc.urlStr = logPayPriceModel!.kjxy_jd
}else if index == 1 {
print("顺丰快件服务协议")
if logPayPriceModel!.kjxy_sf?.count == 0 {
HUD.flash(.label("暂无相关链接"), delay: 1.2)
return
}
vc.urlStr = logPayPriceModel!.kjxy_sf
}else if index == 12 {
print("顺丰快件服务协议")
print("鑫源物流服务协议")
if logPayPriceModel!.kjxy_xy?.count == 0 {
HUD.flash(.label("暂无相关链接"), delay: 1.2)
return
}
vc.urlStr = logPayPriceModel!.kjxy_xy
}
self.navigationController?.pushViewController(vc, animated: true)
......
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