Commit dc468e9b authored by DavidHuang's avatar DavidHuang

处理 审核期的过滤

parent 76bf8d42
......@@ -91,8 +91,10 @@ class YHProductItemView: UIView {
}
@objc func didClickProductItem() {
YHAIJumpPageTool.jumpPageWithType(mode: productModel.redirectMode, path: productModel.redirectPath) {
dict in
if let configModel = YHConfigManager.shared.reqVM.configModel,configModel.is_integral_open {
YHAIJumpPageTool.jumpPageWithType(mode: productModel.redirectMode, path: productModel.redirectPath) {
dict in
}
}
}
......
......@@ -112,9 +112,13 @@ class YHProductListMessageCell: UITableViewCell {
@objc func didMoreButtonClicked() {
YHAIJumpPageTool.jumpPageWithType(mode: listModel.redirectMode, path: listModel.redirectPath) {
dict in
if let configModel = YHConfigManager.shared.reqVM.configModel,configModel.is_integral_open {
YHAIJumpPageTool.jumpPageWithType(mode: listModel.redirectMode, path: listModel.redirectPath) {
dict in
}
}
}
required init?(coder: NSCoder) {
......
......@@ -21,7 +21,7 @@ class YHConfigModel : SmartCodable {
var suggest_updating: Bool = false
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关闭',
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