private PriceProviderResult PostCustomerTypePrice(CustomerPackageModel package) { var result = new PriceProviderResult(); try { var list = HttpHelper.DoRequest <PriceProviderResult>( sysConfig.LISAPIPath + "API/LIS/PostCustomerTypeSpecialPrice", EnumHttpMethod.POST, EnumContentType.Json, package); result = list.Value; Log.Info(list.RawValue); } catch (Exception ex) { Log.Error("错误地址:" + sysConfig.LISAPIPath + "API/LIS/PostCustomerTypePrice"); Log.Exception(ex); result.CanShipping = false; result.Message = ex.Message; } return(result); }
public PriceProviderResult GetCustomerShippingPrice(CustomerPackageModel customerPackageModel) { return(PostCustomerTypePrice(customerPackageModel)); }