|
|
@@ -150,7 +150,7 @@ static const NSInteger detal = 20;
|
|
|
|
|
|
#pragma mark - Save Search
|
|
|
|
|
|
-- (void)saveSearchParameters {
|
|
|
+- (void)saveSearchParameters:(NSString *)name {
|
|
|
|
|
|
NSString *module_name = [self.params objectForKey:@"module_name"];
|
|
|
NSData *jsonData = [NSJSONSerialization dataWithJSONObject:self.params options:NSJSONWritingPrettyPrinted error:nil];
|
|
|
@@ -161,7 +161,7 @@ static const NSInteger detal = 20;
|
|
|
}
|
|
|
dispatch_async(dispatch_get_global_queue(0, 0), ^{
|
|
|
|
|
|
- NSDictionary *json = [RANetwork saveSearchParameters:paramStr forModule:module_name];
|
|
|
+ NSDictionary *json = [RANetwork saveSearchParameters:paramStr forModule:module_name withName:name];
|
|
|
int result = [[json objectForKey:@"result"] intValue];
|
|
|
if (result == RESULT_TRUE) {
|
|
|
|