[2.13.2]fix bug of binder context and aicloud request httpds problem

This commit is contained in:
zhongchao
2023-01-12 15:18:56 +08:00
parent cc9f3a20e1
commit 3eadafab2f
2 changed files with 4 additions and 4 deletions

View File

@@ -1461,14 +1461,14 @@ class MoGoHmiFragment : MvpFragment<MoGoHmiContract.View?, HmiPresenter?>(),
override fun showToBindingcarDialog() {
if (toBindingCarDialog == null) {
toBindingCarDialog = ToBindingCarDialog(requireContext())
toBindingCarDialog = ToBindingCarDialog(ContextHolderUtil.getContext())
}
toBindingCarDialog!!.showToBindingcarDialog()
}
override fun showModifyBindingcarDialog() {
if (modifyBindingCarDialog == null) {
modifyBindingCarDialog = ModifyBindingCarDialog(requireContext())
modifyBindingCarDialog = ModifyBindingCarDialog(ContextHolderUtil.getContext())
}
modifyBindingCarDialog!!.showModifyBindingcarDialog()
}

View File

@@ -19,10 +19,10 @@ class AiCloudIdentifyNetWorkModel {
}
private fun getHost(): String {
var host = "https://dzt-city.zhidaozhixing.com"
var host = "http://dzt-city.zhidaozhixing.com"
when (DebugConfig.getNetMode()) {
DebugConfig.NET_MODE_DEV,
DebugConfig.NET_MODE_QA -> host = "https://dzt-qa-city.zhidaozhixing.com"
DebugConfig.NET_MODE_QA -> host = "http://dzt-qa-city.zhidaozhixing.com"
}
return host
}