|
|
@ -112,6 +112,7 @@ namespace BBWY.Server.Business |
|
|
|
SDPayChannel = o.SDPayChannel, |
|
|
|
IsAfterSaleOrder = o.IsAfterSaleOrder, |
|
|
|
SellerPreferentialAmount = o.SellerPreferentialAmount, |
|
|
|
PreferentialAmount = o.PreferentialAmount, |
|
|
|
|
|
|
|
ContactName = ocs.ContactName, |
|
|
|
Address = ocs.Address, |
|
|
@ -126,7 +127,7 @@ namespace BBWY.Server.Business |
|
|
|
DeliveryExpressFreight = oct.DeliveryExpressFreight, |
|
|
|
PlatformCommissionAmount = oct.PlatformCommissionAmount, |
|
|
|
PlatformCommissionRatio = oct.PlatformCommissionRatio, |
|
|
|
PreferentialAmount = oct.PreferentialAmount, |
|
|
|
//PreferentialAmount = oct.PreferentialAmount,
|
|
|
|
Profit = oct.Profit, |
|
|
|
PurchaseAmount = oct.PurchaseAmount, |
|
|
|
IsManualEdited = oct.IsManualEdited, |
|
|
@ -964,6 +965,18 @@ namespace BBWY.Server.Business |
|
|
|
|
|
|
|
if (orderResponse == null) |
|
|
|
{ |
|
|
|
var relayAPIHost = GetPlatformRelayAPIHost(request.Platform); |
|
|
|
var orderApiResult = restApiService.SendRequest(relayAPIHost, "api/PlatformSDK/GetNoPayOrder", new SearchPlatformOrderRequest() |
|
|
|
{ |
|
|
|
OrderId = request.OrderId, |
|
|
|
AppKey = request.AppKey, |
|
|
|
AppSecret = request.AppSecret, |
|
|
|
AppToken = request.AppToken, |
|
|
|
Platform = request.Platform |
|
|
|
}, null, HttpMethod.Post); |
|
|
|
if (orderApiResult.StatusCode != System.Net.HttpStatusCode.OK) |
|
|
|
throw new BusinessException($"获取未付款订单失败 {orderApiResult.Content}"); |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|