From b66ff9401525a4b082c95c004b77074e27c3bcf0 Mon Sep 17 00:00:00 2001 From: forecho Date: Fri, 13 Mar 2020 11:26:44 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=8E=B7=E5=8F=96=E4=B8=89=E6=80=81?= =?UTF-8?q?=E8=BF=90=E8=B4=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/platforms/SantaiPlatform.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platforms/SantaiPlatform.php b/src/platforms/SantaiPlatform.php index 47c68eb..0d10c72 100644 --- a/src/platforms/SantaiPlatform.php +++ b/src/platforms/SantaiPlatform.php @@ -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); }