Authored by 王钱钧

修改上传参数。

... ... @@ -15,7 +15,7 @@
#import "YHCrashReporter.h"
#import "YHStatus.h"
#define kAnalizedURL @"http://analytics.yhurl.com/mobile" // analytics.yhurl.com/mobile //test.analy.yoho.cn/log.php
#define kAnalizedURL @"http://analytics.yhurl.com/yas_mobile" // analytics.yhurl.com/mobile //test.analy.yoho.cn/log.php
#define kPathCaches [NSSearchPathForDirectoriesInDomains(NSCachesDirectory, NSUserDomainMask, YES) objectAtIndex:0]
#define kPathLogSystem [kPathCaches stringByAppendingPathComponent:@"YHLogSystem"]
... ... @@ -414,7 +414,7 @@ static dispatch_queue_t persisitingQueue;
error:&error];
NSMutableData *body = [NSMutableData data];
[body appendData:[[NSString stringWithFormat:@"data="]dataUsingEncoding:NSUTF8StringEncoding]];
[body appendData:[[NSString stringWithFormat:@"_mlogs="]dataUsingEncoding:NSUTF8StringEncoding]];
[body appendData:jsonData];
if (body) {
... ... @@ -477,7 +477,7 @@ static dispatch_queue_t persisitingQueue;
error:&error];
//配置body
NSMutableData *body = [NSMutableData data];
[body appendData:[[NSString stringWithFormat:@"data="]dataUsingEncoding:NSUTF8StringEncoding]];
[body appendData:[[NSString stringWithFormat:@"_mlogs="]dataUsingEncoding:NSUTF8StringEncoding]];
[body appendData:jsonData];
if (body) {
[urlRequest setHTTPBody:body];
... ...