更新入参数据格式
This commit is contained in:
parent
3d60732610
commit
fcb4a3b941
|
@ -217,7 +217,7 @@ class GwallWms extends BaseWms implements WmsInterface
|
|||
$detailList = [];
|
||||
foreach ($params['refund_goods'] as $item) {
|
||||
array_push($detailList, [
|
||||
'saleOrderCode' => $params['order']['order_no'],
|
||||
'saleOrderCode' => $params['order_info']['order_no'],
|
||||
'sku' => $item['wms_code'],
|
||||
'qty' => $item['sku_quantity'],
|
||||
]);
|
||||
|
@ -230,8 +230,8 @@ class GwallWms extends BaseWms implements WmsInterface
|
|||
'createDate' => $params['created_at'],
|
||||
'logisticsCompanyCode' => strtoupper($params['express_code']),
|
||||
'expressNo' => $params['express_no'],
|
||||
'phno' => $params['order_addr']['receive_mobile'],
|
||||
'stna' => $params['order_addr']['receive_name'],
|
||||
'phno' => $params['order_address_info']['receive_mobile'],
|
||||
'stna' => $params['order_address_info']['receive_name'],
|
||||
'goodsOwner' => $this->config['shipper_code'],
|
||||
'remark' => $params['desc'],
|
||||
'detailList' => $detailList,
|
||||
|
|
|
@ -227,19 +227,19 @@ class XinyiWms extends BaseWms implements WmsInterface
|
|||
'returnOrderCode' => $params['refund_no'],
|
||||
'warehouseCode' => $this->config['warehouse_code'],
|
||||
'orderType' => 'THRK',
|
||||
'preDeliveryOrderCode' => $params['order']['order_no'],
|
||||
'preDeliveryOrderId' => $params['order']['order_no'],
|
||||
'preDeliveryOrderCode' => $params['order_info']['order_no'],
|
||||
'preDeliveryOrderId' => $params['order_info']['order_no'],
|
||||
'logisticsCode' => strtoupper($params['express_code']),
|
||||
'logisticsName' => $params['express_company'],
|
||||
'expressCode' => $params['express_no'],
|
||||
'returnReason' => $params['desc'],
|
||||
'senderInfo' => [
|
||||
'name' => $params['order_addr']['receive_name'],
|
||||
'mobile' => $params['order_addr']['receive_mobile'],
|
||||
'province' => $params['order_addr']['receive_province'],
|
||||
'city' => $params['order_addr']['receive_city'],
|
||||
'area' => $params['order_addr']['receive_district'],
|
||||
'detailAddress' => $params['order_addr']['receive_address'],
|
||||
'name' => $params['order_address_info']['receive_name'],
|
||||
'mobile' => $params['order_address_info']['receive_mobile'],
|
||||
'province' => $params['order_address_info']['receive_province'],
|
||||
'city' => $params['order_address_info']['receive_city'],
|
||||
'area' => $params['order_address_info']['receive_district'],
|
||||
'detailAddress' => $params['order_address_info']['receive_address'],
|
||||
],
|
||||
],
|
||||
'orderLines' => [],
|
||||
|
|
Loading…
Reference in New Issue
Block a user