字典取值
options[@"money"]
设置字典
+ (NSDictionary *)configCallbackDataWithResCode:(NSInteger)resCode msg:(NSString *)msg data:(id)data
{
NSMutableDictionary *resultDic = [[NSMutableDictionary alloc] init];
msg = msg ?: @"";
data = data ?: @"";
[resultDic setValue:[NSNumber numberWithInteger:resCode] forKey:@"status"];
[resultDic setValue:msg forKey:@"errorMsg"];
[resultDic setValue:data forKey:@"data"];
return resultDic;
}