Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
GMPhobos
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
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gengmeiios
GMPhobos
Commits
9470b6c9
Commit
9470b6c9
authored
Dec 26, 2016
by
wangjun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改埋点所需的参数
parent
82d88df3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
11 deletions
+5
-11
Phobos.h
Pod/Classes/Phobos.h
+5
-6
Phobos.m
Pod/Classes/Phobos.m
+0
-5
No files found.
Pod/Classes/Phobos.h
View file @
9470b6c9
...
...
@@ -12,6 +12,10 @@
@property
(
strong
,
nonatomic
)
UINavigationController
*
selectedNavigationController
;
/**
网络状态
*/
@property
(
nonatomic
,
copy
)
NSString
*
netStatus
;
/**
* @brief 开启Phobos统计,默认以BATCH方式发送log.
...
...
@@ -25,11 +29,6 @@
*/
+
(
Phobos
*
)
clientWithAppName
:(
NSString
*
)
appName
channelId
:(
NSString
*
)
channelId
;
+
(
instancetype
)
sharedClient
;
+
(
void
)
setSharedClient
:(
Phobos
*
)
client
;
/**
* @brief 设置是否打印sdk的log信息,默认不开启
*
...
...
@@ -62,7 +61,7 @@
-
(
void
)
setGPS
:(
NSDictionary
*
)
gps
;
/**
网络状态
@param status status
*/
...
...
Pod/Classes/Phobos.m
View file @
9470b6c9
...
...
@@ -29,7 +29,6 @@ static NSString *sdkVersion = @"110";
@property
(
strong
,
nonatomic
)
NSString
*
sessionId
;
@property
(
strong
,
nonatomic
)
NSString
*
lng
;
@property
(
strong
,
nonatomic
)
NSString
*
lat
;
@property
(
nonatomic
,
copy
)
NSString
*
netStatus
;
@end
...
...
@@ -92,10 +91,6 @@ static NSString *sdkVersion = @"110";
}
}
-
(
void
)
setNetStatus
:
(
NSString
*
)
status
{
_netStatus
=
status
;
}
-
(
void
)
handleEventAfterInit
{
WMCacheService
*
cache
=
[
WMCacheService
sharedInstance
];
...
...
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