Browse Source

JD尚锐账号对接

FLH 2 days ago
parent
commit
c5d19aee70

+ 0 - 2
3.Service/XYY.Service.Standard.ChannelApi/JD/Api.cs

@@ -352,8 +352,6 @@ namespace XYY.Service.Standard.ChannelApi.JD
             return client;
         }
 
-        
-
         private RestRequest CreateRestRequst(RequestInfo requestInfo, object param, out string paramJson)
         {
             RestRequest request = new RestRequest();

+ 2 - 0
3.Service/XYY.Service.Standard.ChannelApi/JD/Api_CreateParams.cs

@@ -42,6 +42,8 @@ namespace XYY.Service.Standard.ChannelApi.JD
             string state = (order.ReceiverCountryCode == "GB" && string.IsNullOrWhiteSpace(order.ReceiverState)) ? order.ReceiverCity : order.ReceiverState;
             WaybillDTO waybillDTO = new WaybillDTO();
             waybillDTO.customerCode = customerFopCode;
+            waybillDTO.sellerId = sellerId;
+            waybillDTO.storeId = storeId;
             waybillDTO.invokeType = "1";
             waybillDTO.customerWaybillNo = orderNumber;
             waybillDTO.orderCode = order.CustomerOrderNo;

+ 2 - 0
3.Service/XYY.Service.Standard.ChannelApi/JD/WaybillDTO.cs

@@ -80,6 +80,8 @@ namespace XYY.Service.Standard.ChannelApi.JD
     public class WaybillDTO
     {
         public string customerCode { get; set; }
+        public string sellerId { get; set; }
+        public string storeId { get; set; }
         public string invokeType { get; set; }
         public string customerWaybillNo { get; set; }
         public string orderCode { get; set; }