Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_goodmoney
Project
Project
Details
Activity
Releases
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
android
android_goodmoney
Commits
576f7f1a
Commit
576f7f1a
authored
Feb 05, 2021
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化代码位
parent
5c912b36
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
88 deletions
+0
-88
TtCsjAdManager.java
...main/java/com/mints/goodmoney/manager/TtCsjAdManager.java
+0
-45
YlhAdManager.kt
...src/main/java/com/mints/goodmoney/manager/YlhAdManager.kt
+0
-43
No files found.
GoodMoney/app/src/main/java/com/mints/goodmoney/manager/TtCsjAdManager.java
View file @
576f7f1a
...
...
@@ -165,51 +165,6 @@ public class TtCsjAdManager {
TT_AD_VEDIO_SMALLHOMEVEDIO
=
"945562040"
;
// banner
TT_AD_BANNER_MY
=
"945666042"
;
return
;
}
// 自有默认
// 信息流
TT_AD_NATIVEEXPRESS_AWARD
=
"945562047"
;
TT_AD_NATIVEEXPRESS_WALK
=
"945562480"
;
TT_AD_NATIVEEXPRESS_WATER
=
"945562698"
;
TT_AD_NATIVEEXPRESS_MORNINGCLOCK
=
"945627921"
;
TT_AD_NATIVEEXPRESS_EAT
=
"945627922"
;
// 激励视频
TT_AD_VEDIO_DRINK
=
"945562040"
;
TT_AD_VEDIO_MAIN
=
"945562040"
;
TT_AD_VEDIO_ERASE
=
"945562040"
;
TT_AD_VEDIO_TURNABLE
=
"945562040"
;
TT_AD_VEDIO_MOREDIALOG
=
"945562040"
;
TT_AD_VEDIO_OFFINELINE
=
"945562040"
;
TT_AD_VEDIO_SIGN
=
"945562040"
;
TT_AD_VEDIO_BLESSINGBAG
=
"945730117"
;
TT_AD_VEDIO_HOMEVEDIO
=
"945744137"
;
TT_AD_VEDIO_SMALLHOMEVEDIO
=
"945744186"
;
// banner
TT_AD_BANNER_MY
=
"945661050"
;
}
/**
* 分享用户代码位
*
* @param idBean
*/
private
static
void
loadShareChannel
(
AdcodeBean
idBean
)
{
if
(
idBean
!=
null
)
{
if
(!
TextUtils
.
isEmpty
(
AppConfig
.
user_register_channel
)
&&
AppConfig
.
user_register_channel
.
contains
(
"share"
))
{
TT_AD_VEDIO_BLESSINGBAG
=
idBean
.
getSharecsjv1
();
TT_AD_VEDIO_OFFINELINE
=
idBean
.
getSharecsjv2
();
TT_AD_VEDIO_SIGN
=
idBean
.
getSharecsjv3
();
}
}
else
{
TT_AD_VEDIO_OFFINELINE
=
"945730111"
;
TT_AD_VEDIO_BLESSINGBAG
=
"945730117"
;
TT_AD_VEDIO_SIGN
=
"945730109"
;
}
}
}
GoodMoney/app/src/main/java/com/mints/goodmoney/manager/YlhAdManager.kt
View file @
576f7f1a
...
...
@@ -76,7 +76,6 @@ object YlhAdManager {
return
}
// 对象为空,加载本地渠道
loadLocalChannel
()
}
...
...
@@ -99,48 +98,6 @@ object YlhAdManager {
YLH_AD_VEDIO_OFFINELINE_POSTID
=
"9001346780383626"
YLH_AD_VEDIO_HOMEVEDIO_POSTID
=
"9001346780383626"
YLH_AD_VEDIO_SMALLHOMEVEDIO_POSTID
=
"9001346780383626"
return
}
// 自有默认
// 开屏
YLH_AD_SPLASH_POSTID
=
"7021944730189381"
// 激励视频
YLH_AD_VEDIO_DRINK_POSTID
=
"9001346780383626"
YLH_AD_VEDIO_MAIN_POSTID
=
"9001346780383626"
YLH_AD_VEDIO_ERASE_POSTID
=
"9001346780383626"
YLH_AD_VEDIO_TURNABLE_POSTID
=
"9001346780383626"
YLH_AD_VEDIO_MOREDIALOG_POSTID
=
"9001346780383626"
YLH_AD_VEDIO_SIGN_POSTID
=
"9001346780383626"
YLH_AD_VEDIO_OFFINELINE_POSTID
=
"9001346780383626"
YLH_AD_VEDIO_BLESSINGBAG_POSTID
=
"1081758148138388"
YLH_AD_VEDIO_HOMEVEDIO_POSTID
=
"4051451341464487"
YLH_AD_VEDIO_SMALLHOMEVEDIO_POSTID
=
"9051152341362610"
}
/**
* 分享用户代码位
*
* @param idBean
*/
private
fun
loadShareChannel
(
idBean
:
AdcodeBean
?)
{
if
(
idBean
!=
null
)
{
if
(!
TextUtils
.
isEmpty
(
AppConfig
.
user_register_channel
)
&&
AppConfig
.
user_register_channel
.
contains
(
"share"
))
{
YLH_AD_VEDIO_BLESSINGBAG_POSTID
=
idBean
.
shareylhv1
YLH_AD_VEDIO_OFFINELINE_POSTID
=
idBean
.
shareylhv2
YLH_AD_VEDIO_SIGN_POSTID
=
idBean
.
shareylhv3
}
}
else
{
if
(!
TextUtils
.
isEmpty
(
AppConfig
.
user_register_channel
)
&&
AppConfig
.
user_register_channel
.
contains
(
"share"
))
{
YLH_AD_VEDIO_BLESSINGBAG_POSTID
=
"1081758148138388"
YLH_AD_VEDIO_SIGN_POSTID
=
"2091354158635490"
YLH_AD_VEDIO_OFFINELINE_POSTID
=
"2031954198632389"
}
}
}
}
\ No newline at end of file
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