Skip to content

Commit

Permalink
Merge pull request #22 from icowan/master
Browse files Browse the repository at this point in the history
只留FirstName
  • Loading branch information
forecho authored Sep 20, 2020
2 parents 9c0558a + 8e1a02a commit ed358f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/platforms/YuntuPlatform.php
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ protected function formatOrder(Order $orderClass)
'Receiver' => [
'CountryCode' => $orderClass->recipient->countryCode,
'FirstName' => $orderClass->recipient->name,
'LastName' => $orderClass->recipient->name,
// 'LastName' => $orderClass->recipient->name,
'Company' => $orderClass->recipient->company,
'Street' => $orderClass->recipient->address,
'City' => $orderClass->recipient->city,
Expand All @@ -218,7 +218,7 @@ protected function formatOrder(Order $orderClass)
'Sender' => [
'CountryCode' => $orderClass->shipper->countryCode,
'FirstName' => $orderClass->shipper->name,
'LastName' => $orderClass->shipper->name,
// 'LastName' => $orderClass->shipper->name,
'Company' => $orderClass->shipper->company,
'Street' => $orderClass->shipper->address,
'City' => $orderClass->shipper->city,
Expand Down

0 comments on commit ed358f6

Please sign in to comment.