Skip to content

Commit

Permalink
Merge pull request #37 from liushuai/feat-k5
Browse files Browse the repository at this point in the history
去掉 无效字段
  • Loading branch information
icowan authored Dec 23, 2020
2 parents 94c5f02 + 6a5de8a commit d5d4985
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/platforms/K5Platform.php
Original file line number Diff line number Diff line change
Expand Up @@ -268,9 +268,9 @@ protected function formatOrder(Order $orderClass): array
$volumes[] = [
'Weight'=> $good->weight, // 实重
'Number'=>$good->quantity, // 件数
'Length'=>$good->length, // 长
'Width'=>$good->width, // 宽
'Height'=> $good->height, // 高
//'Length'=>$good->length, // 长
//'Width'=>$good->width, // 宽
//'Height'=> $good->height, // 高

];

Expand Down Expand Up @@ -302,7 +302,7 @@ protected function formatOrder(Order $orderClass): array
'Addres'=>$orderClass->shipper->address, // 电话
'Country'=> $orderClass->shipper->countryCode, // 国家
'Mobile'=> $orderClass->shipper->phone, // 电话
'Tel'=> $orderClass->shipper->Tel, // 电话
'Tel'=> $orderClass->shipper->phone, // 电话
'Province'=>$orderClass->shipper->state, // 省州
'City'=>$orderClass->shipper->city, // 城市
'Post'=>$orderClass->shipper->zip, // 邮编
Expand Down

0 comments on commit d5d4985

Please sign in to comment.