Merge pull request '优化' (#451) from feature/game_rebate1 into master

Reviewed-on: http://8.136.139.249:3000/wmtx/platform/pulls/451
master
廖金灵 3 years ago
commit 39d40b59e2

@ -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