From d3e4c40d447dfa5aebbceb4f63199a81b237a0ab Mon Sep 17 00:00:00 2001 From: ELF <360197197@qq.com> Date: Wed, 4 Aug 2021 17:26:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Base/Service/GameRebateService.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Application/Base/Service/GameRebateService.class.php b/Application/Base/Service/GameRebateService.class.php index f929b79d3..3864afcc0 100644 --- a/Application/Base/Service/GameRebateService.class.php +++ b/Application/Base/Service/GameRebateService.class.php @@ -15,7 +15,7 @@ class GameRebateService $sendResult = ''; if ($gift['game_currency'] > 0) { $result = $this->sendGold($order, $gift['game_currency']); - if ($result['status']) { + if (!$result['status']) { $hasError = true; } $sendResult .= ($result['message'] ?? '') . ';'; @@ -23,7 +23,7 @@ class GameRebateService $giftItems = json_decode($gift['gifts'], true); foreach ($giftItems as $giftItem) { $result = $this->sendGift($order, $giftItem); - if ($result['status']) { + if (!$result['status']) { $hasError = true; } $sendResult .= ($result['message'] ?? '') . ';';