Commit ee6410e0 authored by wanglei's avatar wanglei

[归因]归因

parent 696c0bd9
......@@ -14,12 +14,12 @@ object GlobalConfig {
/**
* Url Event 上报接口
*/
const val URL_EVENT = "https://rp.danehyjudydanehy1310.xyz"
const val URL_EVENT = "https://rp.jocoachers.xyz"
/**
* Url Api 业务接口
*/
const val URL_API = "https://api.danehyjudydanehy1310.xyz"
const val URL_API = "https://api.jocoachers.xyz"
/**
* Url Privacy 隐私链接
......@@ -34,7 +34,7 @@ object GlobalConfig {
/**
* Key Aes 加密key
*/
const val KEY_AES = "iyx3r5121sg6wtc9"
const val KEY_AES = "pnolf67zqg1i5hu8"
/**
* Key solar 归因key
......
......@@ -179,16 +179,16 @@ class MyApplication : Application() {
private fun initAppConfig() {
//初始化sp的配置
NewComUtils.parseConfigBean(spConfig)
AdjustUtils.initAdjust(this)
NewComUtils.requestCfgCallBackMap.put("changeTimer") {
LogEx.logDebug(TAG, "requestCfgCallBackMap changeTimer")
changeTimer()
}
//初始化sp的配置
NewComUtils.parseConfigBean(spConfig)
AdjustUtils.initAdjust(this)
InstallHelps.init {
NewComUtils.requestCfg()
}
......
......@@ -24,7 +24,7 @@ object AdjustUtils {
fun getUserSource(): String {
if (BuildConfig.DEBUG) {
return "origin"
return "channel"
}
var source = "origin"
......
......@@ -68,9 +68,9 @@ object NewComUtils {
"&aid=${AppPreferences.getInstance().getString("uuid", "")}" +
"&source=${getUserSource()}"
if (BuildConfig.DEBUG) {
s = "$s&mode=4"
}
// if (BuildConfig.DEBUG) {
// s = "$s&mode=4"
// }
s
// mode =3 google mode=2 facebook mode=1 自然,mode=4 测试
// &mode=3
......@@ -173,6 +173,7 @@ object NewComUtils {
//配置
ConfigBean.configBean = configBean
LogEx.logDebug(TAG, "test=${configBean.test}")
//广告
// AdConfigBean.adsConfigBean = configBean.adConfigBean
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment