[6.2.0]录包原因接口切换为根据包动态设置域名
This commit is contained in:
@@ -62,15 +62,7 @@ internal class BadCaseNetModel {
|
||||
null
|
||||
}
|
||||
|
||||
private fun getHost(): String{
|
||||
return if(FunctionBuildConfig.urlJson.eagleMisUrl.isEmpty()){
|
||||
"http://eagle-qa.zhidaozhixing.com"
|
||||
}else{
|
||||
"http://eagle-mis-a.zhidaozhixing.com/"
|
||||
}
|
||||
}
|
||||
|
||||
private fun getNetWorkApi(baseUrl: String =getHost()): BadCaseApi{
|
||||
private fun getNetWorkApi(baseUrl: String = HostConst.getHost()): BadCaseApi{
|
||||
return MoGoRetrofitFactory.getInstanceNoCallAdapter(baseUrl)
|
||||
.create(BadCaseApi::class.java)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user