public static string SetDefaultAddress(AddressModel addressModel) { if (AddressDAL.UpdateDefaultAddress(addressModel.id) > 0) { return("设为默认收货地址成功"); } return("设为默认收货地址失败"); }
public static string SetDefaultAddress(AddressModel addressModel) { if (AddressDAL.UpdateDefaultAddress(addressModel.id) > 0) { return("设为默认收货地址成功"); } return("设为默认收货地址失败"); }