[清扫车]清扫车烟台环境域名修改

This commit is contained in:
bxb
2023-03-23 16:33:10 +08:00
parent b81d87435a
commit 922ab45708
4 changed files with 24 additions and 6 deletions

View File

@@ -10,7 +10,9 @@ class SweeperConst {
private const val BASE_URL_OCH_DEV = "https://och-driver-dev.zhidaozhixing.com"
private const val BASE_URL_OCH_QA = "https://och-driver-qa.zhidaozhixing.com"
private const val BASE_URL_OCH_RELEASE = "https://och-driver.zhidaozhixing.com"
//private const val BASE_URL_OCH_RELEASE = "https://och-driver.zhidaozhixing.com"
private const val BASE_URL_OCH_RELEASE = "https://och-driver-yt.zhidaozhixing.com"
@JvmStatic
fun getBaseUrl(): String {

View File

@@ -515,8 +515,8 @@ class SweeperFragment : BaseSweeperTabFragment<SweeperFragment?, SweeperPresente
//模拟结束子任务
override fun debugEndSubTask() {
//mPresenter?.onArriveTaskEnd(null)
super.debugEndSubTask()
mPresenter?.onArriveTaskEnd(null)
//super.debugEndSubTask()
}
/**

View File

@@ -101,6 +101,8 @@ class HttpDnsStartUp : AndroidStartup<Boolean>() {
// clientConfig.passportUrl //todo 亚坤
// clientConfig.socketBaseUrl
// clientConfig.socketTechUrl
//设置基础服务平台域名
setBasicServicesDns(clientConfig)
// 设置是否是直播推流的主播
clientConfig.isAnchor = true
when (DebugConfig.getCarMachineType()) {
@@ -125,7 +127,6 @@ class HttpDnsStartUp : AndroidStartup<Boolean>() {
//设置长链接的secretKey 通过SHA1和包名找中台服务生成后续包名分渠道,需要做对应操作
clientConfig.secretKey = "YMj2VFDFxJ3Q4gNoZceJ"
// clientConfig.secretKey = "n48AlVufihvMDWgzwHX42yzSgiWaad6v"
clientConfig.iHttpCurrentLocation = object : ICurrentLocation {
override fun getCurrentLocation(): SimpleLocation {
val envConfig = CallerDevaToolsManager.getEnvConfig()
@@ -353,4 +354,14 @@ class HttpDnsStartUp : AndroidStartup<Boolean>() {
}
}
/**
* 设置基础服务平台域名
*/
private fun setBasicServicesDns(clientConfig:MoGoAiCloudClientConfig){
if (DebugConfig.getNetMode()==DebugConfig.NET_MODE_RELEASE||DebugConfig.getNetMode()==DebugConfig.NET_MODE_DEMO){
clientConfig.passportUrl="https://och-driver-yt.zhidaozhixing.com/arch/passport/"
clientConfig.socketBaseUrl="https://och-driver-yt.zhidaozhixing.com/arch/push/"
clientConfig.socketTechUrl="https://och-driver-yt.zhidaozhixing.com/arch/"
}
}
}

View File

@@ -22,9 +22,14 @@ public class HostConst {
public static final String CMDB_HOST = "http://eagle-mis.zhidaozhixing.com/eagleEye-mis/cmdbapi/";
public static final String HOST_DEV = "http://eagle-mis-a.zhidaozhixing.com";
public static final String HOST_RELEASE = "http://eagle-mis.zhidaozhixing.com";
public static final String HOST_EAGLE_QA = "http://eagle-dns-a.zhidaozhixing.com/";
//public static final String HOST_RELEASE = "http://eagle-mis.zhidaozhixing.com";
public static final String HOST_RELEASE = "https://och-hailing-yt.zhidaozhixing.com";
//public static final String HOST_EAGLE_QA = "http://eagle-dns-a.zhidaozhixing.com/";
public static final String HOST_EAGLE_QA = "https://och-hailing-yt.zhidaozhixing.com/";
public static String getHost() {
String host = HOST_RELEASE;