//NSMutableDictionary* params = [NSMutableDictionary dictionary];
//[params setObject:self.name.text forKey:@"consignee"];
//[params setObject:self.province_id forKey:@"province"];
//[params setObject:self.city_id forKey:@"city"];
//[params setObject:self.district_id forKey:@"district"];
//[params setObject:self.address.text forKey:@"address"];
//[params setObject:self.phoneNum.text forKey:@"mobile"];
//[params setObject:self.isDefault forKey:@"is_default"];
NSDictionary*paramsss =@{
@"consignee":self.name.text,
@"province":self.province_id,
@"city":self.city_id,
@"district":self.district_id,
@"address":self.address.text,
@"mobile":self.phoneNum.text,
@"is_default":self.isDefault,
};
if(self.addressData&&self.addressData.addressID) {//编辑
//[params setObject:self.addressData.addressID forKey:@"address_id"];
paramsss =@{@"address_id":self.addressData.addressID};
}
NSMutableDictionary*params = [NSMutableDictionarydictionaryWithDictionary:paramsss];