Commit b4bfd878 authored by 井庆林's avatar 井庆林

code review

parent 301e3498
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment