From a60c047d9630786d426096bfcba127f3f058ebe3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=9D=BE?= <8605635+zhang3064194730@user.noreply.gitee.com> Date: Sat, 16 Aug 2025 17:25:09 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=BC=E5=AE=B9=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/czg/app/controller/DiscSpinningController.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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);