[gradle]
[添加业务线模式、业务线可以配置url]
This commit is contained in:
yangyakun
2023-01-13 16:39:47 +08:00
parent 183c5b806f
commit bfbcbdc8be
5 changed files with 173 additions and 1 deletions

View File

@@ -1,5 +1,8 @@
package com.mogo.eagle.core.data.config
import com.mogo.eagle.core.data.deva.net.UrlConfig
import com.mogo.eagle.core.utilcode.util.GsonUtils
/**
* @author xiaoyuzhou
* @date 2021/8/24 8:59 下午
@@ -173,4 +176,11 @@ object FunctionBuildConfig {
@JvmField
var isPNCWarning = true
/**
* 最外层设置的Url
*/
@Volatile
@JvmField
var urlJson: UrlConfig = GsonUtils.fromJson("{\"och_url\":\"https://tech.zhidaohulian.com\"}", UrlConfig::class.java)
}

View File

@@ -0,0 +1,8 @@
package com.mogo.eagle.core.data.deva.net
import com.google.gson.annotations.SerializedName
data class UrlConfig(
@SerializedName("och_url")
val ochUrl: String
)