|
|
@@ -5579,7 +5579,7 @@ NSString* gprice = [self get_portfolio_price :appDelegate.contact_id item_id:ite
|
|
|
// [container setValue:stateDic forKey:key];
|
|
|
|
|
|
}] mutableCopy];
|
|
|
-
|
|
|
+ [ret removeObjectForKey:@"result"];
|
|
|
// failure 可以不用了,一样的
|
|
|
if (ret.allKeys.count == 0) {
|
|
|
NSMutableDictionary *stateDic = [NSMutableDictionary dictionaryWithCapacity:2];
|
|
|
@@ -5629,7 +5629,7 @@ NSString* gprice = [self get_portfolio_price :appDelegate.contact_id item_id:ite
|
|
|
NSString *key = [NSString stringWithFormat:@"val_%ld",(*count)++];
|
|
|
[container setValue:stateDic forKey:key];
|
|
|
}] mutableCopy];
|
|
|
-
|
|
|
+ [ret removeObjectForKey:@"result"];
|
|
|
[ret setValue:[NSNumber numberWithInt:ret.allKeys.count] forKey:@"count"];
|
|
|
|
|
|
return ret;
|
|
|
@@ -10152,7 +10152,7 @@ NSString* gprice = [self get_portfolio_price :appDelegate.contact_id item_id:ite
|
|
|
|
|
|
|
|
|
}] mutableCopy];
|
|
|
-
|
|
|
+ [ret removeObjectForKey:@"result"];
|
|
|
// failure 可以不用了,一样的
|
|
|
if (ret.allKeys.count == 0) {
|
|
|
NSMutableDictionary *stateDic = [NSMutableDictionary dictionaryWithCapacity:2];
|