master
ELF 3 years ago
parent 82bc905b45
commit d3e4c40d44

@ -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'] ?? '') . ';';

Loading…
Cancel
Save