Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
L
LuckFarm
Project
Project
Details
Activity
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lmj
LuckFarm
Commits
bf8306d5
Commit
bf8306d5
authored
Nov 13, 2020
by
zhangshuai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
70ac3487
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
IOSADManager.m
GYDemo/GYDemo/SCAds/IOSADManager.m
+2
-1
No files found.
GYDemo/GYDemo/SCAds/IOSADManager.m
View file @
bf8306d5
...
@@ -408,7 +408,7 @@ static IOSADManager * manager = nil;
...
@@ -408,7 +408,7 @@ static IOSADManager * manager = nil;
if
(
self
.
advertisingSpace
)
{
if
(
self
.
advertisingSpace
)
{
[[
CGUserManager
shared
]
addADLocCollection
:
self
.
advertisingSpace
value
:
@"show_reward_video_ad"
andADData
:
showData
];
[[
CGUserManager
shared
]
addADLocCollection
:
self
.
advertisingSpace
value
:
@"show_reward_video_ad"
andADData
:
showData
];
}
}
dispatch_a
sync
(
dispatch_get_main_queue
(),
^
{
dispatch_a
fter
(
dispatch_time
(
DISPATCH_TIME_NOW
,
(
int64_t
)(
0
.
5
*
NSEC_PER_SEC
)),
dispatch_get_main_queue
(),
^
{
if
([
showData
.
adPlatform
isEqualToString
:
@"chuanshanjia"
])
{
if
([
showData
.
adPlatform
isEqualToString
:
@"chuanshanjia"
])
{
[
weakSelf
.
csjAd
showAdWithData
:
showData
withADType
:
adType
];
[
weakSelf
.
csjAd
showAdWithData
:
showData
withADType
:
adType
];
...
@@ -422,6 +422,7 @@ static IOSADManager * manager = nil;
...
@@ -422,6 +422,7 @@ static IOSADManager * manager = nil;
[
weakSelf
.
ruishiAd
showAdWithData
:
showData
withADType
:
adType
];
[
weakSelf
.
ruishiAd
showAdWithData
:
showData
withADType
:
adType
];
}
}
});
});
if
(
weakSelf
.
videoModels
.
count
<=
1
)
{
if
(
weakSelf
.
videoModels
.
count
<=
1
)
{
[
weakSelf
requestVideoAD
];
[
weakSelf
requestVideoAD
];
}
else
{
}
else
{
...
...
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