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
03bde953
Commit
03bde953
authored
Apr 01, 2021
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加穿山甲全屏广告
parent
4065410c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
VideoAdingManager.java
...in/java/com/wenshu/youyou/ad/video/VideoAdingManager.java
+3
-1
AppConfig.java
app/src/main/java/com/wenshu/youyou/common/AppConfig.java
+3
-3
No files found.
app/src/main/java/com/wenshu/youyou/ad/video/VideoAdingManager.java
View file @
03bde953
...
@@ -209,10 +209,12 @@ public class VideoAdingManager {
...
@@ -209,10 +209,12 @@ public class VideoAdingManager {
nextAdType
=
Constant
.
YLH_VEDIO_AD
;
nextAdType
=
Constant
.
YLH_VEDIO_AD
;
}
else
if
(
AppConfig
.
csjFullVedioAdCount
>
0
)
{
}
else
if
(
AppConfig
.
csjFullVedioAdCount
>
0
)
{
nextAdType
=
Constant
.
CSJ_FULL_AD
;
nextAdType
=
Constant
.
CSJ_FULL_AD
;
}
else
if
(
AppConfig
.
ksVideoAdCount
>
0
)
{
nextAdType
=
Constant
.
KS_VEDIO_AD
;
}
else
if
(
AppConfig
.
shVideoAdCount
>
0
)
{
}
else
if
(
AppConfig
.
shVideoAdCount
>
0
)
{
nextAdType
=
Constant
.
SH_VEDIO_AD
;
nextAdType
=
Constant
.
SH_VEDIO_AD
;
}
else
{
}
else
{
nextAdType
=
Constant
.
KS
_VEDIO_AD
;
nextAdType
=
Constant
.
FL
_VEDIO_AD
;
}
}
return
nextAdType
;
return
nextAdType
;
}
}
...
...
app/src/main/java/com/wenshu/youyou/common/AppConfig.java
View file @
03bde953
...
@@ -86,15 +86,15 @@ public class AppConfig {
...
@@ -86,15 +86,15 @@ public class AppConfig {
/**
/**
* flVideo 剩余广告播放数
* flVideo 剩余广告播放数
*/
*/
public
static
int
flVideoAdCount
=
5
;
public
static
int
flVideoAdCount
=
0
;
/**
/**
* shVideo 剩余广告播放数
* shVideo 剩余广告播放数
*/
*/
public
static
int
shVideoAdCount
=
5
;
public
static
int
shVideoAdCount
=
0
;
/**
/**
* ksVideo 剩余广告播放数
* ksVideo 剩余广告播放数
*/
*/
public
static
int
ksVideoAdCount
=
5
;
public
static
int
ksVideoAdCount
=
0
;
/**
/**
* 高额试玩任务标识
* 高额试玩任务标识
...
...
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