Commit 576f7f1a authored by mengcuiguang's avatar mengcuiguang

优化代码位

parent 5c912b36
...@@ -165,51 +165,6 @@ public class TtCsjAdManager { ...@@ -165,51 +165,6 @@ public class TtCsjAdManager {
TT_AD_VEDIO_SMALLHOMEVEDIO = "945562040"; TT_AD_VEDIO_SMALLHOMEVEDIO = "945562040";
// banner // banner
TT_AD_BANNER_MY = "945666042"; 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";
} }
} }
} }
...@@ -76,7 +76,6 @@ object YlhAdManager { ...@@ -76,7 +76,6 @@ object YlhAdManager {
return return
} }
// 对象为空,加载本地渠道 // 对象为空,加载本地渠道
loadLocalChannel() loadLocalChannel()
} }
...@@ -99,48 +98,6 @@ object YlhAdManager { ...@@ -99,48 +98,6 @@ object YlhAdManager {
YLH_AD_VEDIO_OFFINELINE_POSTID = "9001346780383626" YLH_AD_VEDIO_OFFINELINE_POSTID = "9001346780383626"
YLH_AD_VEDIO_HOMEVEDIO_POSTID = "9001346780383626" YLH_AD_VEDIO_HOMEVEDIO_POSTID = "9001346780383626"
YLH_AD_VEDIO_SMALLHOMEVEDIO_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
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