Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_highgold_pro
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_highgold_pro
Commits
0aa4ca8b
Commit
0aa4ca8b
authored
May 19, 2021
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改高额任务权重
parent
e0d1dd4e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
17 deletions
+16
-17
VideoAdingManager.java
.../java/com/mints/goldspace/ad/video/VideoAdingManager.java
+16
-17
No files found.
app/src/main/java/com/mints/goldspace/ad/video/VideoAdingManager.java
View file @
0aa4ca8b
...
...
@@ -265,19 +265,25 @@ public class VideoAdingManager {
}
// 穿山甲
if
(
csjHighVideoWeight
>
0
)
{
weightList
.
add
(
new
WeightBean
(
csjHighVideoWeight
,
Constant
.
CSJ_VEDIO_AD
));
weight
=
weight
+
csjHighVideoWeight
;
LogUtil
.
d
(
TAG
,
"高额任务 -> 权重值:csjVideoWeight:"
+
csjHighVideoWeight
);
}
// 优量汇
if
(
ylhHighVideoWeight
>
0
)
{
weightList
.
add
(
new
WeightBean
(
ylhHighVideoWeight
,
Constant
.
YLH_VEDIO_AD
));
weight
=
weight
+
ylhHighVideoWeight
;
LogUtil
.
d
(
TAG
,
"高额任务 -> 权重值:ylhVideoWeight:"
+
ylhHighVideoWeight
);
}
// 快手
if
(
ksHighVideoWeight
>
0
)
{
weightList
.
add
(
new
WeightBean
(
ksHighVideoWeight
,
Constant
.
KS_VEDIO_AD
));
weight
=
weight
+
ksHighVideoWeight
;
LogUtil
.
d
(
TAG
,
"高额任务 -> 权重值:ksVideoWeight:"
+
ksHighVideoWeight
);
}
// 权重随机
if
(
weightList
!=
null
&&
weightList
.
size
()
>
0
&&
weight
>
0
)
{
...
...
@@ -293,7 +299,7 @@ public class VideoAdingManager {
}
}
}
return
""
;
return
Constant
.
CSJ_VEDIO_AD
;
}
/**
...
...
@@ -508,13 +514,6 @@ public class VideoAdingManager {
* @param bean
*/
private
void
loadAdVideo
(
String
videoAdType
,
VideoAdingBean
bean
)
{
if
(
TextUtils
.
isEmpty
(
videoAdType
))
{
if
(
videoAdingListener
!=
null
)
{
videoAdingListener
.
videoAdingListenerError
(
bean
.
getCarrierType
());
}
return
;
}
try
{
if
(
TextUtils
.
equals
(
videoAdType
,
Constant
.
YLH_VEDIO_AD
))
{
// 优量汇
...
...
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