|
@@ -153,6 +153,7 @@
|
|
|
dispatch_async(dispatch_get_main_queue(), ^{
|
|
|
NSString *json = [op responseJSON];
|
|
|
id temp = [json mj_JSONObject];
|
|
|
+ NSLog(@"---post-----url:\n%@\n-----data:\n%@\n--",path, temp);
|
|
|
if ([temp isKindOfClass:[NSDictionary class]]) {
|
|
|
NSDictionary *result = (NSDictionary *)temp;
|
|
|
NSString *status = [NSString stringWithFormat:@"%@", result[@"status"]];
|
|
@@ -209,6 +210,7 @@
|
|
|
dispatch_async(dispatch_get_main_queue(), ^{
|
|
|
NSString *json = [op responseJSON];
|
|
|
id temp = [json mj_JSONObject];
|
|
|
+ NSLog(@"---Get-----url:\n%@\n-----data:\n%@\n--",path, temp);
|
|
|
if ([temp isKindOfClass:[NSDictionary class]]) {
|
|
|
NSDictionary *result = (NSDictionary *)temp;
|
|
|
NSString *status = [NSString stringWithFormat:@"%@", result[@"status"]];
|
|
@@ -270,6 +272,7 @@
|
|
|
dispatch_async(dispatch_get_main_queue(), ^{
|
|
|
NSString *json = [op responseJSON];
|
|
|
id temp = [json mj_JSONObject];
|
|
|
+ NSLog(@"---Put-----url:\n%@\n-----data:\n%@\n--",path, temp);
|
|
|
if ([temp isKindOfClass:[NSDictionary class]]) {
|
|
|
NSDictionary *result = (NSDictionary *)temp;
|
|
|
NSString *status = [NSString stringWithFormat:@"%@", result[@"status"]];
|