From a646b1c92ddeb73cc6cc109edf21ecac94e6ee37 Mon Sep 17 00:00:00 2001 From: renwj Date: Wed, 6 Apr 2022 12:01:21 +0800 Subject: [PATCH] =?UTF-8?q?[Chat]=E8=BD=A6=E8=81=8A=E8=81=8A=E6=BC=94?= =?UTF-8?q?=E7=A4=BA=E5=9F=9F=E5=90=8D=E6=94=B9=E6=88=90=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E5=9F=9F=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/mogo/eagle/core/function/chat/facade/consts/Consts.kt | 3 ++- .../eagle/core/function/chat/facade/net/ChatServiceModel.kt | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/core/function-impl/mogo-core-function-chat/src/main/java/com/mogo/eagle/core/function/chat/facade/consts/Consts.kt b/core/function-impl/mogo-core-function-chat/src/main/java/com/mogo/eagle/core/function/chat/facade/consts/Consts.kt index aa3480e8fa..9bf65b3dcf 100644 --- a/core/function-impl/mogo-core-function-chat/src/main/java/com/mogo/eagle/core/function/chat/facade/consts/Consts.kt +++ b/core/function-impl/mogo-core-function-chat/src/main/java/com/mogo/eagle/core/function/chat/facade/consts/Consts.kt @@ -52,8 +52,9 @@ class ChatHttp { fun getBaseUrl(): String { return when (DebugConfig.getNetMode()) { - DebugConfig.NET_MODE_DEV, DebugConfig.NET_MODE_QA, DebugConfig.NET_MODE_DEMO -> DEV_BASE_URL_OWNER + DebugConfig.NET_MODE_DEV, DebugConfig.NET_MODE_QA -> DEV_CONFIG_URL DebugConfig.NET_MODE_RELEASE -> RELEASE_BASE_URL_OWNER + DebugConfig.NET_MODE_DEMO -> DEV_BASE_URL_OWNER else -> RELEASE_BASE_URL_OWNER } } diff --git a/core/function-impl/mogo-core-function-chat/src/main/java/com/mogo/eagle/core/function/chat/facade/net/ChatServiceModel.kt b/core/function-impl/mogo-core-function-chat/src/main/java/com/mogo/eagle/core/function/chat/facade/net/ChatServiceModel.kt index 9a88fd79e5..34947380c3 100644 --- a/core/function-impl/mogo-core-function-chat/src/main/java/com/mogo/eagle/core/function/chat/facade/net/ChatServiceModel.kt +++ b/core/function-impl/mogo-core-function-chat/src/main/java/com/mogo/eagle/core/function/chat/facade/net/ChatServiceModel.kt @@ -8,13 +8,11 @@ import com.mogo.eagle.core.data.BaseResponse import com.mogo.eagle.core.data.chat.UserInfo import com.mogo.eagle.core.function.api.chat.biz.ChatConsts import com.mogo.eagle.core.function.api.chat.biz.IMCallType.CALL_TYPE_VOICE -import com.mogo.eagle.core.function.chat.facade.bridge.BridgeApi import com.mogo.eagle.core.function.chat.facade.consts.ChatHttp import com.mogo.eagle.core.function.chat.facade.consts.ChatHttp.Companion.getConfig import com.mogo.eagle.core.function.chat.facade.net.bean.* import com.mogo.eagle.core.function.chat.facade.utils.log import com.mogo.map.MogoLocationClient -import com.mogo.service.IMogoServiceApis import com.mogo.eagle.core.network.MoGoRetrofitFactory import retrofit2.http.*