Commit f31f3fbf authored by David黄金龙's avatar David黄金龙

10 七鱼智能 灰度

parent abd4f392
......@@ -22,6 +22,8 @@ enum YHUatModules: Int {
8、更新-强制更新弹窗、true
9、更新-建议更新弹窗、false
10、七鱼智能客服、false
*/
case Mine_Unknow = 0
......@@ -37,6 +39,8 @@ enum YHUatModules: Int {
case Update_Fource = 8 //更新-强制更新弹窗
case Update_Suggest = 9 //更新-建议更新弹窗
case QiYu_Service = 10 //七鱼智能客服入口
//1-可见 2-不可见 3-新界面
var defaultValue : Int {
......@@ -60,6 +64,8 @@ enum YHUatModules: Int {
return 2
case .Update_Suggest:
return 2
case .QiYu_Service:
return 2
default:
return 2
}
......
......@@ -31,6 +31,7 @@ class YHUatModel : HandyJSON {
7、服务-订单搜索、false
8、更新-强制更新弹窗、true
9、更新-建议更新弹窗、false
10、七鱼智能客服、false
*/
var module_number : String = ""
var result : Int = 0 //命中结果 0-未找到该规则,走默认逻辑 1-未命中,2-命中
......@@ -61,7 +62,7 @@ extension YHUatHelperViewModel {
return
}
let params: [String] = ["1", "2","3", "4","5","6","9"]
let params: [String] = ["1", "2","3", "4","5","6","9","10"]
var strUrl = YHBaseUrlManager.shared.curURL() + YHAllApiName.Uat.uatListApi
for (index,item) in params.enumerated() {
if index == 0 {
......
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