NSMutableDictionary *dict = [NSMutableDictionary dictionaryWithObjectsAndKeys:addressId,@"addressId",sendMethod,@"sendMethod",payType,@"payType",subGoodsMdf,@"subGoodsMdf",subGoodsCount,@"subGoodsCount",actIdStr,@"actIdStr",couponId,@"voucherId",scoreNumber,@"exchangeScore",nil];
// 以上情况:如果是中间的某一个字段为nil,则后面的即使不为空也不会显示出来
if (couponId.length) {
[dict setObject:couponId forKey:@"voucherId"];
}
if (scoreNumber>=0) {
[dict setObject:scoreNumber forKey:@"exchangeScore"];
}