diff --git a/app/czg/app/controller/DiscSpinningController.php b/app/czg/app/controller/DiscSpinningController.php index 2d2a3c5..c0a3b4c 100644 --- a/app/czg/app/controller/DiscSpinningController.php +++ b/app/czg/app/controller/DiscSpinningController.php @@ -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);