Commit 3f884dbb authored by Steven杜宇's avatar Steven杜宇

// AI

parent bfc8a6b5
...@@ -147,7 +147,7 @@ extension YHAIServiceListViewController: UICollectionViewDelegate, UICollectionV ...@@ -147,7 +147,7 @@ extension YHAIServiceListViewController: UICollectionViewDelegate, UICollectionV
vc.myTitle = model.title vc.myTitle = model.title
vc.robotId = model.botId vc.robotId = model.botId
vc.conversationId = sesseionId vc.conversationId = sesseionId
vc.robotType = model.bot_type vc.robotType = model.botType
self.navigationController?.pushViewController(vc, animated: true) self.navigationController?.pushViewController(vc, animated: true)
} }
} }
......
...@@ -35,11 +35,11 @@ class YHEntranceconfigModel: SmartCodable { ...@@ -35,11 +35,11 @@ class YHEntranceconfigModel: SmartCodable {
var btnText: String = "" var btnText: String = ""
var redirectMode: Int = 0 var redirectMode: Int = 0
var botId: String = "" var botId: String = ""
var bot_type: Int = 0 // 1:房产 2:教育 3:销售 var botType: Int = 0 // 1:房产 2:教育 3:销售
var redirectPath: String = "" var redirectPath: String = ""
func isNeedShowBannerHeader() -> Bool { func isNeedShowBannerHeader() -> Bool {
if bot_type == YHAYRobotType.education.rawValue || bot_type == YHAYRobotType.sale.rawValue { if botType == YHAYRobotType.education.rawValue || botType == YHAYRobotType.sale.rawValue {
return true return true
} }
return false return false
......
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