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
fe46540b
Commit
fe46540b
authored
Feb 24, 2020
by
汪洋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除误输入字符,重新打包
parent
281e1c16
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
31 deletions
+31
-31
GMViewController.m
Example/GMPhobos/GMViewController.m
+26
-26
Podfile.lock
Example/Podfile.lock
+4
-4
Phobos.m
GMPhobos/Classes/Phobos.m
+1
-1
No files found.
Example/GMPhobos/GMViewController.m
View file @
fe46540b
...
@@ -42,32 +42,32 @@ NSString *const MockCityId = @"beijing";
...
@@ -42,32 +42,32 @@ NSString *const MockCityId = @"beijing";
Phobos
.
sharedClient
.
signingType
=
PhobosSigningTypeDebug
;
Phobos
.
sharedClient
.
signingType
=
PhobosSigningTypeDebug
;
Phobos
.
sharedClient
.
userId
=
@""
;
Phobos
.
sharedClient
.
userId
=
@""
;
NSString
*
inDate
=
[
PhobosUtil
currentTime
];
//
NSString *inDate = [PhobosUtil currentTime];
NSMutableDictionary
*
dict
=
[[
NSMutableDictionary
alloc
]
init
];
//
NSMutableDictionary *dict = [[NSMutableDictionary alloc] init];
[
dict
setObject
:[
PhobosUtil
currentTime
]
forKey
:
@"out"
];
//
[dict setObject:[PhobosUtil currentTime] forKey:@"out"];
[
dict
setObject
:
inDate
forKey
:
@"in"
];
//
[dict setObject:inDate forKey:@"in"];
[
dict
setObject
:
@"test"
forKey
:
@"page_name"
];
//
[dict setObject:@"test" forKey:@"page_name"];
[
dict
setObject
:
@""
forKey
:
@"business_id"
];
//
[dict setObject:@"" forKey:@"business_id"];
[
dict
setObject
:
@""
forKey
:
@"referrer"
];
//
[dict setObject:@"" forKey:@"referrer"];
[
dict
setObject
:
@
(
0
)
forKey
:
@"fake"
];
//
[dict setObject:@(0) forKey:@"fake"];
[
dict
setObject
:
@""
forKey
:
@"referrer_id"
];
//
[dict setObject:@"" forKey:@"referrer_id"];
[
dict
setObject
:
@""
forKey
:
@"extra_param"
];
//
[dict setObject:@"" forKey:@"extra_param"];
[
dict
setObject
:
@""
forKey
:
@"referrer_tab_name"
];
//
[dict setObject:@"" forKey:@"referrer_tab_name"];
[
dict
setObject
:
@
(
0
)
forKey
:
@"is_push"
];
//
[dict setObject:@(0) forKey:@"is_push"];
[
Phobos
track
:
@"page_view"
attributes
:
dict
];
//
[Phobos track:@"page_view" attributes:dict];
NSArray
*
array
=
[
GMCache
fetchObjectAtDocumentPathWithkey
:
PhobosCacheKey
];
//
NSArray *array = [GMCache fetchObjectAtDocumentPathWithkey:PhobosCacheKey];
//
[
Phobos
track
:
@"page_view"
attributes
:
dict
];
//
[Phobos track:@"page_view" attributes:dict];
array
=
[
GMCache
fetchObjectAtDocumentPathWithkey
:
PhobosCacheKey
];
//
array = [GMCache fetchObjectAtDocumentPathWithkey:PhobosCacheKey];
//
[
dict
setObject
:[
PhobosUtil
currentTime
]
forKey
:
@"in"
];
//
[dict setObject:[PhobosUtil currentTime] forKey:@"in"];
[
dict
setObject
:[
PhobosUtil
currentTime
]
forKey
:
@"out"
];
//
[dict setObject:[PhobosUtil currentTime] forKey:@"out"];
[
Phobos
track
:
@"page_view"
attributes
:
dict
];
//
[Phobos track:@"page_view" attributes:dict];
array
=
[
GMCache
fetchObjectAtDocumentPathWithkey
:
PhobosCacheKey
];
//
array = [GMCache fetchObjectAtDocumentPathWithkey:PhobosCacheKey];
//
[
Phobos
track
:
@"test"
attributes
:
dict
];
//
[Phobos track:@"test" attributes:dict];
array
=
[
GMCache
fetchObjectAtDocumentPathWithkey
:
PhobosCacheKey
];
//
array = [GMCache fetchObjectAtDocumentPathWithkey:PhobosCacheKey];
//
}
}
-
(
void
)
didReceiveMemoryWarning
-
(
void
)
didReceiveMemoryWarning
...
...
Example/Podfile.lock
View file @
fe46540b
...
@@ -35,7 +35,7 @@ PODS:
...
@@ -35,7 +35,7 @@ PODS:
- GMKit/Protocol (1.1.3):
- GMKit/Protocol (1.1.3):
- Masonry (= 1.1.0)
- Masonry (= 1.1.0)
- SDWebImage (= 3.7.6)
- SDWebImage (= 3.7.6)
- GMPhobos (1.3.
0
):
- GMPhobos (1.3.
6
):
- GMCache
- GMCache
- GMKit
- GMKit
- Masonry (1.1.0)
- Masonry (1.1.0)
...
@@ -51,7 +51,7 @@ SPEC REPOS:
...
@@ -51,7 +51,7 @@ SPEC REPOS:
"git@git.wanmeizhensuo.com:gengmeiios/GMSpecs.git":
"git@git.wanmeizhensuo.com:gengmeiios/GMSpecs.git":
- GMCache
- GMCache
- GMKit
- GMKit
https://github.com/
cocoapods/s
pecs.git:
https://github.com/
CocoaPods/S
pecs.git:
- Masonry
- Masonry
- SDWebImage
- SDWebImage
- TMCache
- TMCache
...
@@ -63,11 +63,11 @@ EXTERNAL SOURCES:
...
@@ -63,11 +63,11 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS:
SPEC CHECKSUMS:
GMCache: 09a3029c96fe130e3a21faef70b3d9d2ce92d639
GMCache: 09a3029c96fe130e3a21faef70b3d9d2ce92d639
GMKit: 35f788243cceeddf3e13c5226b3ea0b5e08e2117
GMKit: 35f788243cceeddf3e13c5226b3ea0b5e08e2117
GMPhobos:
c1dd33760f8d4243e6bf562a115899e66c6ec7d2
GMPhobos:
6623102d634ce5485e8d3e474da8bdce5891f419
Masonry: 678fab65091a9290e40e2832a55e7ab731aad201
Masonry: 678fab65091a9290e40e2832a55e7ab731aad201
SDWebImage: c325cf02c30337336b95beff20a13df489ec0ec9
SDWebImage: c325cf02c30337336b95beff20a13df489ec0ec9
TMCache: 95ebcc9b3c7e90fb5fd8fc3036cba3aa781c9bed
TMCache: 95ebcc9b3c7e90fb5fd8fc3036cba3aa781c9bed
PODFILE CHECKSUM: ea0fac2144ac80baf8f21576cde49526c19991ad
PODFILE CHECKSUM: ea0fac2144ac80baf8f21576cde49526c19991ad
COCOAPODS: 1.
7
.4
COCOAPODS: 1.
8
.4
GMPhobos/Classes/Phobos.m
View file @
fe46540b
...
@@ -452,7 +452,7 @@ static NSString *sdkVersion = @"110";
...
@@ -452,7 +452,7 @@ static NSString *sdkVersion = @"110";
[
dict
setObject
:
deviceParams
forKey
:
@"device"
];
[
dict
setObject
:
deviceParams
forKey
:
@"device"
];
[
dict
setObject
:
_userId
forKey
:
@"user_id"
];
[
dict
setObject
:
_userId
forKey
:
@"user_id"
];
[
dict
setObject
:
currentTime
forKey
:
@"create_at"
];
[
dict
setObject
:
currentTime
forKey
:
@"create_at"
];
[
dict
setObject
:
@
([[
NSProcessInfo
processInfo
]
systemUptime
])
forKey
:
@"nano_time"
];
6
[
dict
setObject
:
@
([[
NSProcessInfo
processInfo
]
systemUptime
])
forKey
:
@"nano_time"
];
[
dict
setObject
:
@
(
mach_absolute_time
())
forKey
:
@"absolute_time"
];
[
dict
setObject
:
@
(
mach_absolute_time
())
forKey
:
@"absolute_time"
];
[
dict
setObject
:
attributes
forKey
:
@"params"
];
[
dict
setObject
:
attributes
forKey
:
@"params"
];
[
dict
setObject
:
_sessionId
forKey
:
@"app_session_id"
];
[
dict
setObject
:
_sessionId
forKey
:
@"app_session_id"
];
...
...
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