Showing
1 changed file
with
3 additions
and
3 deletions
@@ -15,7 +15,7 @@ | @@ -15,7 +15,7 @@ | ||
15 | #import "YHCrashReporter.h" | 15 | #import "YHCrashReporter.h" |
16 | #import "YHStatus.h" | 16 | #import "YHStatus.h" |
17 | 17 | ||
18 | -#define kAnalizedURL @"http://analytics.yhurl.com/mobile" // analytics.yhurl.com/mobile //test.analy.yoho.cn/log.php | 18 | +#define kAnalizedURL @"http://analytics.yhurl.com/yas_mobile" // analytics.yhurl.com/mobile //test.analy.yoho.cn/log.php |
19 | #define kPathCaches [NSSearchPathForDirectoriesInDomains(NSCachesDirectory, NSUserDomainMask, YES) objectAtIndex:0] | 19 | #define kPathCaches [NSSearchPathForDirectoriesInDomains(NSCachesDirectory, NSUserDomainMask, YES) objectAtIndex:0] |
20 | #define kPathLogSystem [kPathCaches stringByAppendingPathComponent:@"YHLogSystem"] | 20 | #define kPathLogSystem [kPathCaches stringByAppendingPathComponent:@"YHLogSystem"] |
21 | 21 | ||
@@ -414,7 +414,7 @@ static dispatch_queue_t persisitingQueue; | @@ -414,7 +414,7 @@ static dispatch_queue_t persisitingQueue; | ||
414 | error:&error]; | 414 | error:&error]; |
415 | 415 | ||
416 | NSMutableData *body = [NSMutableData data]; | 416 | NSMutableData *body = [NSMutableData data]; |
417 | - [body appendData:[[NSString stringWithFormat:@"data="]dataUsingEncoding:NSUTF8StringEncoding]]; | 417 | + [body appendData:[[NSString stringWithFormat:@"_mlogs="]dataUsingEncoding:NSUTF8StringEncoding]]; |
418 | [body appendData:jsonData]; | 418 | [body appendData:jsonData]; |
419 | 419 | ||
420 | if (body) { | 420 | if (body) { |
@@ -477,7 +477,7 @@ static dispatch_queue_t persisitingQueue; | @@ -477,7 +477,7 @@ static dispatch_queue_t persisitingQueue; | ||
477 | error:&error]; | 477 | error:&error]; |
478 | //配置body | 478 | //配置body |
479 | NSMutableData *body = [NSMutableData data]; | 479 | NSMutableData *body = [NSMutableData data]; |
480 | - [body appendData:[[NSString stringWithFormat:@"data="]dataUsingEncoding:NSUTF8StringEncoding]]; | 480 | + [body appendData:[[NSString stringWithFormat:@"_mlogs="]dataUsingEncoding:NSUTF8StringEncoding]]; |
481 | [body appendData:jsonData]; | 481 | [body appendData:jsonData]; |
482 | if (body) { | 482 | if (body) { |
483 | [urlRequest setHTTPBody:body]; | 483 | [urlRequest setHTTPBody:body]; |
-
Please register or login to post a comment