|
@@ -26,6 +26,7 @@
|
|
|
#import "CommonEditorCellTextView.h"
|
|
#import "CommonEditorCellTextView.h"
|
|
|
#import "RAUtils.h"
|
|
#import "RAUtils.h"
|
|
|
#import "CommonEditorCellImg.h"
|
|
#import "CommonEditorCellImg.h"
|
|
|
|
|
+#import "RAConvertor.h"
|
|
|
|
|
|
|
|
//#import "AFHTTPSessionManager.h"
|
|
//#import "AFHTTPSessionManager.h"
|
|
|
//#import "NetworkUtils.h"
|
|
//#import "NetworkUtils.h"
|
|
@@ -314,7 +315,7 @@
|
|
|
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
|
|
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
|
|
|
|
|
|
|
|
NSDictionary* editor_json = [weakself request_Editor:weakself.request_url params:weakself.params];
|
|
NSDictionary* editor_json = [weakself request_Editor:weakself.request_url params:weakself.params];
|
|
|
- DebugLog(@"data string: %@",[RAUtils dict2string:editor_json] );
|
|
|
|
|
|
|
+ DebugLog(@"data string: %@",[RAConvertor dict2string:editor_json] );
|
|
|
dispatch_async(dispatch_get_main_queue(), ^{
|
|
dispatch_async(dispatch_get_main_queue(), ^{
|
|
|
|
|
|
|
|
[waitalert dismissWithClickedButtonIndex:0 animated:FALSE];
|
|
[waitalert dismissWithClickedButtonIndex:0 animated:FALSE];
|
|
@@ -1121,7 +1122,7 @@
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
NSDictionary* editor_json = [weakself request_Editor:weakself.request_url params:weakself.params];
|
|
NSDictionary* editor_json = [weakself request_Editor:weakself.request_url params:weakself.params];
|
|
|
- DebugLog(@"data string: %@",[RAUtils dict2string:editor_json] );
|
|
|
|
|
|
|
+ DebugLog(@"data string: %@",[RAConvertor dict2string:editor_json] );
|
|
|
|
|
|
|
|
dispatch_async(dispatch_get_main_queue(), ^{
|
|
dispatch_async(dispatch_get_main_queue(), ^{
|
|
|
[waitalert dismissWithClickedButtonIndex:0 animated:FALSE];
|
|
[waitalert dismissWithClickedButtonIndex:0 animated:FALSE];
|
|
@@ -1526,6 +1527,7 @@
|
|
|
for(int j=0;j<item_count;j++)
|
|
for(int j=0;j<item_count;j++)
|
|
|
{
|
|
{
|
|
|
NSMutableDictionary * itemjson=[[sectionjson objectForKey:[NSString stringWithFormat:@"item_%d",j ]] mutableCopy];
|
|
NSMutableDictionary * itemjson=[[sectionjson objectForKey:[NSString stringWithFormat:@"item_%d",j ]] mutableCopy];
|
|
|
|
|
+ NSAssert(itemjson!=nil, @"Backend error, item is null section:%d item %d",i,item_count);
|
|
|
[sectionarr addObject:itemjson];
|
|
[sectionarr addObject:itemjson];
|
|
|
[self add_subitem:itemjson addto:sectionarr parent:[NSString stringWithFormat:@"%d_%d",i,j ]];
|
|
[self add_subitem:itemjson addto:sectionarr parent:[NSString stringWithFormat:@"%d_%d",i,j ]];
|
|
|
// [itemjson setObject:cadedatejson forKey:@"cadedate"];
|
|
// [itemjson setObject:cadedatejson forKey:@"cadedate"];
|