Skip to content

Commit

Permalink
fix: 获取三态运费
Browse files Browse the repository at this point in the history
  • Loading branch information
forecho committed Mar 13, 2020
1 parent 408ac78 commit b66ff94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platforms/SantaiPlatform.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public function getOrderFee(string $orderNumber): OrderFee
];
$parameter = array_merge($this->getAuthParams(), $query);
$result = $client->call('getFeeByOrderCode', $parameter);
if (isset($result['ask']) && $result['ask'] === "Success" && isset($result['data'])) {
if (isset($result['ask']) && $result['ask'] === 'Success' && $result['msg'] == 'Success') {
$orderFee = new OrderFee();
return $this->formatReturnOrder($orderFee, $result);
}
Expand Down

0 comments on commit b66ff94

Please sign in to comment.