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
b4bfd878
Commit
b4bfd878
authored
Mar 02, 2020
by
井庆林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
code review
parent
301e3498
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
PhobosDataManager.m
GMPhobos/Classes/PhobosDataManager.m
+7
-1
No files found.
GMPhobos/Classes/PhobosDataManager.m
View file @
b4bfd878
...
...
@@ -12,6 +12,12 @@
#import <MJExtension/MJExtension.h>
#import "Phobos.h"
#ifdef APPSTORE
#define GMExactExposureApi @"https://log.igengmei.com/log/precise_exposure"
#else
#define GMExactExposureApi @"http://log.test.igengmei.com/log/precise_exposure"
#endif
@implementation
PhobosSendModel
-
(
instancetype
)
initWithData
:(
id
)
data
sendAPI
:(
NSString
*
)
sendAPI
{
...
...
@@ -43,7 +49,7 @@
[
GMCache
removeObjectAtDocumentPathWithkey
:
PhobosTempCacheKey
];
}];
}
NSString
*
exposureAPI
=
@""
;
NSString
*
exposureAPI
=
GMExactExposureApi
;
NSArray
*
exposureArray
=
[
GMCache
fetchObjectAtDocumentPathWithkey
:[
PhobosUtil
MD5String
:
exposureAPI
]];
if
(
exposureArray
.
count
>
0
)
{
[
self
utilSendDataArray
:
exposureArray
currentAPI
:
exposureAPI
success
:^
(
NSInteger
code
)
{
...
...
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