Commit d5ad5374 authored by DavidHuang's avatar DavidHuang

AI 审核中 过滤商品列表

parent 27a994b8
...@@ -199,7 +199,15 @@ class YHAITabViewController: YHBaseViewController { ...@@ -199,7 +199,15 @@ class YHAITabViewController: YHBaseViewController {
guard let self = self else { return } guard let self = self else { return }
self.mainChatVC.robotId = self.viewModel.listModel.mainBotId self.mainChatVC.robotId = self.viewModel.listModel.mainBotId
self.listVC.serviceArr.removeAll() self.listVC.serviceArr.removeAll()
self.listVC.serviceArr.append(contentsOf: self.viewModel.listModel.entranceConfig)
var arrT = self.viewModel.listModel.entranceConfig
if let configModel = YHConfigManager.shared.reqVM.configModel,configModel.is_integral_open {
arrT = self.viewModel.listModel.entranceConfig.filter {
!($0.redirectPath == YHAIJumpPageType.galaxySelect.rawValue)//
}
}
self.listVC.serviceArr.append(contentsOf: arrT)
self.listVC.collectionView.reloadData() self.listVC.collectionView.reloadData()
} }
} }
......
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