Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
A
appzxhy
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wanglei
appzxhy
Commits
ee6410e0
Commit
ee6410e0
authored
Jul 03, 2025
by
wanglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[归因]归因
parent
696c0bd9
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
12 deletions
+13
-12
GlobalConfig.kt
app/src/main/java/com/ritoq/quickphone/GlobalConfig.kt
+3
-3
MyApplication.kt
app/src/main/java/com/ritoq/quickphone/MyApplication.kt
+5
-5
AdjustUtils.kt
.../java/com/ritoq/quickphone/business/helper/AdjustUtils.kt
+1
-1
NewComUtils.kt
.../java/com/ritoq/quickphone/business/helper/NewComUtils.kt
+4
-3
No files found.
app/src/main/java/com/ritoq/quickphone/GlobalConfig.kt
View file @
ee6410e0
...
...
@@ -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
...
...
app/src/main/java/com/ritoq/quickphone/MyApplication.kt
View file @
ee6410e0
...
...
@@ -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
()
}
...
...
app/src/main/java/com/ritoq/quickphone/business/helper/AdjustUtils.kt
View file @
ee6410e0
...
...
@@ -24,7 +24,7 @@ object AdjustUtils {
fun
getUserSource
():
String
{
if
(
BuildConfig
.
DEBUG
)
{
return
"
origin
"
return
"
channel
"
}
var
source
=
"origin"
...
...
app/src/main/java/com/ritoq/quickphone/business/helper/NewComUtils.kt
View file @
ee6410e0
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment