Commit dc468e9b authored by DavidHuang's avatar DavidHuang

处理 审核期的过滤

parent 76bf8d42
...@@ -91,10 +91,12 @@ class YHProductItemView: UIView { ...@@ -91,10 +91,12 @@ class YHProductItemView: UIView {
} }
@objc func didClickProductItem() { @objc func didClickProductItem() {
if let configModel = YHConfigManager.shared.reqVM.configModel,configModel.is_integral_open {
YHAIJumpPageTool.jumpPageWithType(mode: productModel.redirectMode, path: productModel.redirectPath) { YHAIJumpPageTool.jumpPageWithType(mode: productModel.redirectMode, path: productModel.redirectPath) {
dict in dict in
} }
} }
}
func createUI() { func createUI() {
......
...@@ -112,11 +112,15 @@ class YHProductListMessageCell: UITableViewCell { ...@@ -112,11 +112,15 @@ class YHProductListMessageCell: UITableViewCell {
@objc func didMoreButtonClicked() { @objc func didMoreButtonClicked() {
if let configModel = YHConfigManager.shared.reqVM.configModel,configModel.is_integral_open {
YHAIJumpPageTool.jumpPageWithType(mode: listModel.redirectMode, path: listModel.redirectPath) { YHAIJumpPageTool.jumpPageWithType(mode: listModel.redirectMode, path: listModel.redirectPath) {
dict in dict in
} }
} }
}
required init?(coder: NSCoder) { required init?(coder: NSCoder) {
super.init(coder: coder) super.init(coder: coder)
} }
......
...@@ -21,7 +21,7 @@ class YHConfigModel : SmartCodable { ...@@ -21,7 +21,7 @@ class YHConfigModel : SmartCodable {
var suggest_updating: Bool = false var suggest_updating: Bool = false
var suggest_updating_msg: String = "" var suggest_updating_msg: String = ""
var is_integral_open : Bool = false //条件控制哈 PingGuoShenHe var is_integral_open : Bool = false //条件控制哈 PingGuoShenHe true - 展示 false - hidden
// var is_recharge_order_open : Bool = false //双十一banner开关 //`is_recharge_order_open` int NOT NULL DEFAULT '0' COMMENT '1 开启 0关闭', // var is_recharge_order_open : Bool = false //双十一banner开关 //`is_recharge_order_open` int NOT NULL DEFAULT '0' COMMENT '1 开启 0关闭',
required init() { required init() {
......
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