Commit 1f1e85d1 authored by Steven杜宇's avatar Steven杜宇

// AI

parent 2fb27403
......@@ -351,8 +351,6 @@ class YHAIRobotChatViewController: YHBaseViewController {
config.bannerItems = [YHAIChatBannerItem(id: 0, title: "了解银河集团", desc: "香港身份生活一站式服务平台", msg: "银河集团,能够为我提供什么?"),
YHAIChatBannerItem(id: 1, title: "香港身份智能评估", desc: "20s快速评估,了解自身条件是否符合", msg: "开始身份办理评估"),
YHAIChatBannerItem(id: 2, title: "银河产品矩阵", desc: "香港身份、生活多样产品", msg: "介绍一下银河的产品"),]
// config.flowMessages = ["优才学历加分要求是什么?", "优才现在要怎么申请?", "墨尔本大学是优才合资格大学吗?", "推荐一些优才产品"]
} else if robotType == YHAIRobotType.education.rawValue {
config.title = "Hello,我是香港教育宝"
......@@ -364,7 +362,18 @@ class YHAIRobotChatViewController: YHBaseViewController {
config.bannerItems = [YHAIChatBannerItem(id: 0, title: "幼中小学升学", desc: "去香港插班需要考核哪些"),
YHAIChatBannerItem(id: 1, title: "大学升学", desc: "DSE分数和Alevel的换算关系"),
YHAIChatBannerItem(id: 2, title: "银河教育服务", desc: "银河教育插班成功率如何?"),]
// config.flowMessages = ["香港教育有哪些优势?", "去香港读书有哪些条件?", "申请香港学校费用是多少?", "了解银河教育插班服务流程", "了解银河教育插班录取率"]
} else if robotType == YHAIRobotType.business.rawValue {
config.title = "Hello,我是银河商务规划师"
config.bannerTitleColor = .brandMainColor
config.desc = "企业问题都可以找我~"
config.bgColor = .init(hex: 0xE6F4FF)
config.indicatorColor = .brandMainColor
config.bgImageName = "ai_chat_header_bg_2"
config.bannerItems = [YHAIChatBannerItem(id: 0, title: "注册公司KYC", desc: "公司注册时,KYC或尽职调查文件的目的是什么?"),
YHAIChatBannerItem(id: 1, title: "雇员个税", desc: "具体计算薪俸税税率时,雇员个税如何计算?"),
YHAIChatBannerItem(id: 2, title: "香港公司取名", desc: "选择香港公司的名称有什么限制,跟内地有什么区别?"),]
}
return config
}
......
......@@ -24,6 +24,7 @@ enum YHAIRobotType: String {
case education = "educationBot"
case sale = "saleBot"
case image = "entryPrecautionsImage"
case business = "businessBot"
}
class YHEntranceconfigModel: SmartCodable {
......@@ -39,7 +40,7 @@ class YHEntranceconfigModel: SmartCodable {
var redirectPath: String = ""
func isNeedShowBannerHeader() -> Bool {
if businessType == YHAIRobotType.education.rawValue || businessType == YHAIRobotType.sale.rawValue {
if businessType == YHAIRobotType.education.rawValue || businessType == YHAIRobotType.sale.rawValue || businessType == YHAIRobotType.business.rawValue {
return true
}
return false
......
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "切图.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "切图@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
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