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
07be9025
Commit
07be9025
authored
Nov 12, 2020
by
zhangshuai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加位置埋点
parent
1b0168a5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
11 deletions
+4
-11
IOSADManager.h
GYDemo/GYDemo/SCAds/IOSADManager.h
+2
-0
IOSADManager.m
GYDemo/GYDemo/SCAds/IOSADManager.m
+2
-11
No files found.
GYDemo/GYDemo/SCAds/IOSADManager.h
View file @
07be9025
...
...
@@ -70,6 +70,8 @@ NS_ASSUME_NONNULL_BEGIN
@property
(
nonatomic
,
retain
)
NSMutableArray
*
loadADDataArray
;
//正在加载 广告
@property
(
nonatomic
,
retain
)
NSString
*
advertisingSpace
;
// 当前广告位 出入后会在广告展示 结束后上报
/// 单利
+
(
IOSADManager
*
)
shareADManager
;
...
...
GYDemo/GYDemo/SCAds/IOSADManager.m
View file @
07be9025
...
...
@@ -186,13 +186,6 @@ static IOSADManager * manager = nil;
}
/// 加载一条缓存
/// @param loadADModel 广告对象
/// @param AdType 广告类型
...
...
@@ -376,9 +369,6 @@ static IOSADManager * manager = nil;
});
}
}
else
if
(
adType
==
ADType_BigImage
){
//大图
}
else
if
(
adType
==
ADType_OpenScreen
){
//开屏
...
...
@@ -593,13 +583,14 @@ static IOSADManager * manager = nil;
if
(
success
)
{
[[
CGUserManager
shared
]
addLocCollection
:
@"reward_request"
value
:
@"reward_display_success"
];
[[
CGNetworkTools
shared
]
postWithAction
:
adsEndReport
parameters
:@{}
success
:^
(
id
_Nonnull
response
)
{
}
failure
:^
(
NSError
*
_Nonnull
error
)
{
}];
}
else
{
[[
CGUserManager
shared
]
addLocCollection
:
@"reward_request"
value
:
@"reward_display_success"
];
}
}
else
if
(
model
.
loadADType
==
ADType_OpenScreen
){
if
(
success
)
{
...
...
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