From 0711fe22be7a88a2718fee3afe881098836a63d1 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 15:31:02 +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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/czg/app/controller/DiscSpinningController.php b/app/czg/app/controller/DiscSpinningController.php index a888efa..2d2a3c5 100644 --- a/app/czg/app/controller/DiscSpinningController.php +++ b/app/czg/app/controller/DiscSpinningController.php @@ -78,7 +78,7 @@ class DiscSpinningController extends Frontend 'draws' => $resp ]); $resp = convertToCamelCase($resp); - $resp['img'] = $resp['imgUrl']; + $resp['img'] = $resp['img_url'] ?? ''; $this->successWithData($resp); }