[2.13.2]
[gradle] [添加业务线模式、业务线可以配置url]
This commit is contained in:
@@ -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)
|
||||
|
||||
}
|
||||
@@ -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
|
||||
)
|
||||
Reference in New Issue
Block a user