兼容修改

This commit is contained in:
张松 2025-08-16 17:25:09 +08:00
parent a8d0e921df
commit a60c047d96
1 changed files with 4 additions and 3 deletions

View File

@ -72,11 +72,12 @@ class DiscSpinningController extends Frontend
$draws = self::draws($count + 1, $orders['pay_money'], $params['sourceId'], $userId, $params['source']);
$resp = $draws;
// $this->receive($draws);
pushQueue(DiscReceiveQueue::class, [
'draws' => $resp
]);
});
});
pushQueue(DiscReceiveQueue::class, [
'draws' => $resp
]);
$resp = convertToCamelCase($resp);
$resp['img'] = $resp['img_url'] ?? '';
$this->successWithData($resp);