Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_youyou
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_youyou
Commits
b6a20b29
Commit
b6a20b29
authored
Mar 30, 2021
by
jyx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加代码位
parent
805a33c2
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
48 additions
and
51 deletions
+48
-51
WenshuApplication.java
app/src/main/java/com/wenshu/youyou/WenshuApplication.java
+6
-9
TtCsjAdManager.java
...c/main/java/com/wenshu/youyou/manager/TtCsjAdManager.java
+23
-23
YlhAdManager.kt
app/src/main/java/com/wenshu/youyou/manager/YlhAdManager.kt
+18
-18
ShareSDK.xml
shareSdkLib/src/main/assets/ShareSDK.xml
+1
-1
No files found.
app/src/main/java/com/wenshu/youyou/WenshuApplication.java
View file @
b6a20b29
...
@@ -12,12 +12,9 @@ import androidx.multidex.MultiDexApplication;
...
@@ -12,12 +12,9 @@ import androidx.multidex.MultiDexApplication;
import
com.hjq.toast.ToastUtils
;
import
com.hjq.toast.ToastUtils
;
import
com.wenshu.youyou.common.Constant
;
import
com.wenshu.youyou.common.Constant
;
import
com.wenshu.youyou.manager.KsManager
;
import
com.wenshu.youyou.manager.MhManager
;
import
com.wenshu.youyou.manager.MiitHelper
;
import
com.wenshu.youyou.manager.MiitHelper
;
import
com.wenshu.youyou.manager.RsNewsManager
;
import
com.wenshu.youyou.manager.TtCsjAdManager
;
import
com.wenshu.youyou.manager.TtCsjAdManager
;
import
com.wenshu.youyou.manager.TzManager
;
import
com.wenshu.youyou.manager.WnManager
;
import
com.wenshu.youyou.manager.YlVideoManager
;
import
com.wenshu.youyou.manager.YlVideoManager
;
import
com.wenshu.youyou.manager.YlhAdManager
;
import
com.wenshu.youyou.manager.YlhAdManager
;
import
com.wenshu.youyou.net.LoanService
;
import
com.wenshu.youyou.net.LoanService
;
...
@@ -111,10 +108,10 @@ public class WenshuApplication extends MultiDexApplication {
...
@@ -111,10 +108,10 @@ public class WenshuApplication extends MultiDexApplication {
initMiitHelper
();
initMiitHelper
();
// 优量汇
// 优量汇
//
YlhAdManager.INSTANCE.initYlhAd(this);
YlhAdManager
.
INSTANCE
.
initYlhAd
(
this
);
// 穿山甲
// 穿山甲
//
TtCsjAdManager.init(this);
TtCsjAdManager
.
init
(
this
);
// 快手
// 快手
// KsManager.INSTANCE.initKs(this);
// KsManager.INSTANCE.initKs(this);
...
@@ -129,10 +126,10 @@ public class WenshuApplication extends MultiDexApplication {
...
@@ -129,10 +126,10 @@ public class WenshuApplication extends MultiDexApplication {
// TzManager.INSTANCE.initTz(this);
// TzManager.INSTANCE.initTz(this);
// 一览视频
// 一览视频
//
YlVideoManager.INSTANCE.init(this);
YlVideoManager
.
INSTANCE
.
init
(
this
);
// 瑞狮新闻
// 瑞狮新闻
//
RsNewsManager.INSTANCE.initX5Environment(this);
RsNewsManager
.
INSTANCE
.
initX5Environment
(
this
);
// 喜马拉雅
// 喜马拉雅
// initXmly();
// initXmly();
...
@@ -177,7 +174,7 @@ public class WenshuApplication extends MultiDexApplication {
...
@@ -177,7 +174,7 @@ public class WenshuApplication extends MultiDexApplication {
.
methodCount
(
0
)
//方法数显示多少行,默认2行
.
methodCount
(
0
)
//方法数显示多少行,默认2行
.
methodOffset
(
7
)
//隐藏方法内部调用到偏移量,默认5
.
methodOffset
(
7
)
//隐藏方法内部调用到偏移量,默认5
// .logStrategy(customLog) //打印日志的策略,默认LogCat
// .logStrategy(customLog) //打印日志的策略,默认LogCat
.
tag
(
"
wenshu
---network"
)
//自定义TAG全部标签,默认PRETTY_LOGGER
.
tag
(
"
mints
---network"
)
//自定义TAG全部标签,默认PRETTY_LOGGER
.
build
();
.
build
();
Logger
.
addLogAdapter
(
new
AndroidLogAdapter
(
formatStrategy
));
Logger
.
addLogAdapter
(
new
AndroidLogAdapter
(
formatStrategy
));
}
}
...
...
app/src/main/java/com/wenshu/youyou/manager/TtCsjAdManager.java
View file @
b6a20b29
...
@@ -17,41 +17,41 @@ import com.wenshu.youyou.mvp.model.ServerAdBean;
...
@@ -17,41 +17,41 @@ import com.wenshu.youyou.mvp.model.ServerAdBean;
*/
*/
public
class
TtCsjAdManager
{
public
class
TtCsjAdManager
{
public
static
final
String
TT_AD_APPID
=
""
;
public
static
final
String
TT_AD_APPID
=
"
5038593
"
;
public
static
final
String
TT_AD_NAME
=
Constant
.
wenshu_APP_NAME
;
public
static
final
String
TT_AD_NAME
=
Constant
.
wenshu_APP_NAME
;
/*banner*/
/*banner*/
public
static
String
TT_AD_BANNER_MY
=
""
;
// 个人中心
public
static
String
TT_AD_BANNER_MY
=
"
945812059
"
;
// 个人中心
public
static
String
TT_AD_BANNER_JULEYUN
=
""
;
// 聚乐云
public
static
String
TT_AD_BANNER_JULEYUN
=
""
;
// 聚乐云
/*激励视频*/
/*激励视频*/
public
static
String
TT_AD_VEDIO_MAIN_DEV
=
""
;
// 开发使用
public
static
String
TT_AD_VEDIO_MAIN_DEV
=
""
;
// 开发使用
public
static
String
TT_AD_VEDIO_DRINK
=
""
;
//喝水打卡
public
static
String
TT_AD_VEDIO_DRINK
=
"
945811826
"
;
//喝水打卡
public
static
String
TT_AD_VEDIO_WALK
=
""
;
//走路打卡
public
static
String
TT_AD_VEDIO_WALK
=
"
945811826
"
;
//走路打卡
public
static
String
TT_AD_VEDIO_MAIN
=
""
;
// 我的界面视频
public
static
String
TT_AD_VEDIO_MAIN
=
"
945811826
"
;
// 我的界面视频
public
static
String
TT_AD_VEDIO_ERASE
=
""
;
// 刮刮乐
public
static
String
TT_AD_VEDIO_ERASE
=
"
945811826
"
;
// 刮刮乐
public
static
String
TT_AD_VEDIO_TURNABLE
=
""
;
// 大转盘
public
static
String
TT_AD_VEDIO_TURNABLE
=
"
945811826
"
;
// 大转盘
public
static
String
TT_AD_VEDIO_MOREDIALOG
=
""
;
// 气泡
public
static
String
TT_AD_VEDIO_MOREDIALOG
=
"
945811826
"
;
// 气泡
public
static
String
TT_AD_VEDIO_SIGN
=
""
;
// 签到
public
static
String
TT_AD_VEDIO_SIGN
=
""
;
// 签到
public
static
String
TT_AD_VEDIO_EAT
=
""
;
// 饭补
public
static
String
TT_AD_VEDIO_EAT
=
"
945811826
"
;
// 饭补
public
static
String
TT_AD_VEDIO_OFFINELINE
=
""
;
// 离线弹框
public
static
String
TT_AD_VEDIO_OFFINELINE
=
"
945811826
"
;
// 离线弹框
public
static
String
TT_AD_VEDIO_DRAWCASH
=
""
;
// 提现
public
static
String
TT_AD_VEDIO_DRAWCASH
=
"
945811826
"
;
// 提现
public
static
String
TT_AD_VEDIO_MOST
=
""
;
// 超级翻倍/高额任务
public
static
String
TT_AD_VEDIO_MOST
=
"
945811826
"
;
// 超级翻倍/高额任务
public
static
String
TT_AD_VEDIO_GAME
=
""
;
// 猎豹
public
static
String
TT_AD_VEDIO_GAME
=
""
;
// 猎豹
public
static
String
TT_AD_VEDIO_JULEYUN
=
""
;
// 聚乐云
public
static
String
TT_AD_VEDIO_JULEYUN
=
""
;
// 聚乐云
public
static
String
TT_AD_VEDIO_BIANXIANMAO
=
""
;
// 变现猫
public
static
String
TT_AD_VEDIO_BIANXIANMAO
=
""
;
// 变现猫
public
static
String
TT_AD_VEDIO_BLESSINGBAG
=
""
;
// 福袋
public
static
String
TT_AD_VEDIO_BLESSINGBAG
=
"
945811826
"
;
// 福袋
public
static
String
TT_AD_VEDIO_HOMEVEDIO
=
""
;
// 首页视频翻倍
public
static
String
TT_AD_VEDIO_HOMEVEDIO
=
"
945811826
"
;
// 首页视频翻倍
public
static
String
TT_AD_VEDIO_SMALLHOMEVEDIO
=
""
;
// 短视频翻倍
public
static
String
TT_AD_VEDIO_SMALLHOMEVEDIO
=
"
945811826
"
;
// 短视频翻倍
public
static
String
TT_AD_VEDIO_KYLVEDIO
=
""
;
// 来电秀视频
public
static
String
TT_AD_VEDIO_KYLVEDIO
=
"
945811826
"
;
// 来电秀视频
/*全屏视频*/
/*全屏视频*/
public
static
String
TT_AD_FULLVEDIO_ALL
=
""
;
// 通用
public
static
String
TT_AD_FULLVEDIO_ALL
=
"
945811843
"
;
// 通用
/*信息流*/
/*信息流*/
public
static
String
TT_AD_NATIVEEXPRESS_XMLY
=
""
;
//喜马拉雅信息流
public
static
String
TT_AD_NATIVEEXPRESS_XMLY
=
"
945811816
"
;
//喜马拉雅信息流
public
static
String
TT_AD_NATIVEEXPRESS_AWARD
=
""
;
//信息流弹窗
public
static
String
TT_AD_NATIVEEXPRESS_AWARD
=
"
945811936
"
;
//信息流弹窗
public
static
String
TT_AD_NATIVEEXPRESS_WALK
=
""
;
//走路
public
static
String
TT_AD_NATIVEEXPRESS_WALK
=
"
945811899
"
;
//走路
public
static
String
TT_AD_NATIVEEXPRESS_WATER
=
""
;
//喝水
public
static
String
TT_AD_NATIVEEXPRESS_WATER
=
"
945811899
"
;
//喝水
public
static
String
TT_AD_NATIVEEXPRESS_MORNINGCLOCK
=
""
;
//早上打卡
public
static
String
TT_AD_NATIVEEXPRESS_MORNINGCLOCK
=
"
945811899
"
;
//早上打卡
public
static
String
TT_AD_NATIVEEXPRESS_EAT
=
""
;
//餐补
public
static
String
TT_AD_NATIVEEXPRESS_EAT
=
"
945811899
"
;
//餐补
public
static
String
TT_AD_NATIVEEXPRESS_ID_LIEBAO_LISTEXIT
=
""
;
//猎豹列表和退出
public
static
String
TT_AD_NATIVEEXPRESS_ID_LIEBAO_LISTEXIT
=
""
;
//猎豹列表和退出
/*全屏广告*/
/*全屏广告*/
public
static
String
TT_AD_ALLVEDIO_ID_LIEBAO
=
""
;
//猎豹全屏带跳过按钮
public
static
String
TT_AD_ALLVEDIO_ID_LIEBAO
=
""
;
//猎豹全屏带跳过按钮
...
...
app/src/main/java/com/wenshu/youyou/manager/YlhAdManager.kt
View file @
b6a20b29
...
@@ -13,33 +13,33 @@ import com.qq.e.comm.managers.GDTADManager
...
@@ -13,33 +13,33 @@ import com.qq.e.comm.managers.GDTADManager
object
YlhAdManager
{
object
YlhAdManager
{
/* 优量汇appid */
/* 优量汇appid */
const
val
YLH_AD_APPID
=
""
const
val
YLH_AD_APPID
=
"
1110058445
"
/* splash-postid */
/* splash-postid */
var
YLH_AD_SPLASH_POSTID
=
""
var
YLH_AD_SPLASH_POSTID
=
"
1051659976719686
"
/* 激励视频 */
/* 激励视频 */
var
YLH_AD_VEDIO_DRINK
=
""
//喝水打卡
var
YLH_AD_VEDIO_DRINK
=
"
7051055905193266
"
//喝水打卡
var
YLH_AD_VEDIO_WALK
=
""
//走路打卡
var
YLH_AD_VEDIO_WALK
=
"
7051055905193266
"
//走路打卡
var
YLH_AD_VEDIO_MAIN
=
""
// 我的界面视频
var
YLH_AD_VEDIO_MAIN
=
"
7051055905193266
"
// 我的界面视频
var
YLH_AD_VEDIO_ERASE
=
""
// 刮刮乐
var
YLH_AD_VEDIO_ERASE
=
"
7051055905193266
"
// 刮刮乐
var
YLH_AD_VEDIO_TURNABLE
=
""
// 大转盘
var
YLH_AD_VEDIO_TURNABLE
=
"
7051055905193266
"
// 大转盘
var
YLH_AD_VEDIO_MOREDIALOG
=
""
// 气泡
var
YLH_AD_VEDIO_MOREDIALOG
=
"
7051055905193266
"
// 气泡
var
YLH_AD_VEDIO_SIGN
=
""
// 签到
var
YLH_AD_VEDIO_SIGN
=
"
7051055905193266
"
// 签到
var
YLH_AD_VEDIO_EAT
=
""
// 饭补
var
YLH_AD_VEDIO_EAT
=
"
7051055905193266
"
// 饭补
var
YLH_AD_VEDIO_OFFINELINE
=
""
// 离线弹框
var
YLH_AD_VEDIO_OFFINELINE
=
"
7051055905193266
"
// 离线弹框
var
YLH_AD_VEDIO_DRAWCASH
=
""
// 提现
var
YLH_AD_VEDIO_DRAWCASH
=
"
7051055905193266
"
// 提现
var
YLH_AD_VEDIO_MOST
=
""
// 超级翻倍/高额任务
var
YLH_AD_VEDIO_MOST
=
"
7051055905193266
"
// 超级翻倍/高额任务
var
YLH_AD_VEDIO_GAME
=
""
// 猎豹
var
YLH_AD_VEDIO_GAME
=
""
// 猎豹
var
YLH_AD_VEDIO_BLESSINGBAG
=
""
// 福袋
var
YLH_AD_VEDIO_BLESSINGBAG
=
"
7051055905193266
"
// 福袋
var
YLH_AD_VEDIO_HOMEVEDIO
=
""
// 首页视频翻倍
var
YLH_AD_VEDIO_HOMEVEDIO
=
"
7051055905193266
"
// 首页视频翻倍
var
YLH_AD_VEDIO_SMALLHOMEVEDIO
=
""
// 短视频翻倍
var
YLH_AD_VEDIO_SMALLHOMEVEDIO
=
"
7051055905193266
"
// 短视频翻倍
var
YLH_AD_VEDIO_KYLVEDIO
=
""
// 来电秀视频
var
YLH_AD_VEDIO_KYLVEDIO
=
"
7051055905193266
"
// 来电秀视频
/*信息流*/
/*信息流*/
var
YLH_AD_NATIVEEXPRESS_JULEYUN
=
""
//聚乐云
var
YLH_AD_NATIVEEXPRESS_JULEYUN
=
""
//聚乐云
var
YLH_AD_NATIVEEXPRESS_AWARD
=
""
//奖励弹窗
var
YLH_AD_NATIVEEXPRESS_AWARD
=
"
4081450906109922
"
//奖励弹窗
/* 插屏 */
/* 插屏 */
var
YLH_AD_INTERSTITIALAD_LIEBAO
=
""
//猎豹
var
YLH_AD_INTERSTITIALAD_LIEBAO
=
""
//猎豹
...
...
shareSdkLib/src/main/assets/ShareSDK.xml
View file @
b6a20b29
...
@@ -77,7 +77,7 @@
...
@@ -77,7 +77,7 @@
但是只能分享图片和文字,username和path是分享小程序用的的,userName是小程序的原始ID,path是小程序内的页面路径;
但是只能分享图片和文字,username和path是分享小程序用的的,userName是小程序的原始ID,path是小程序内的页面路径;
而且必须保证微信开放平台与微信公众/小程序绑定才可以分享;不需要的不用管
而且必须保证微信开放平台与微信公众/小程序绑定才可以分享;不需要的不用管
-->
-->
<Wechat
AppId=
"wx
c8ac2985f6a805e2"
AppSecret=
"05ec1f88c19ef905325ad4a316f62e9d
"
BypassApproval=
"false"
<Wechat
AppId=
"wx
a9c7cc9c01db59f1"
AppSecret=
"4d317618b7205c56992219f195349a2c
"
BypassApproval=
"false"
Enable=
"true"
Id=
"4"
Enable=
"true"
Id=
"4"
MiniprogramType=
"0"
Path=
"pages/index/index.html?id=1"
SortId=
"4"
MiniprogramType=
"0"
Path=
"pages/index/index.html?id=1"
SortId=
"4"
UserName=
"gh_afb25ac019c9"
WithShareTicket=
"true"
/>
UserName=
"gh_afb25ac019c9"
WithShareTicket=
"true"
/>
...
...
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