From c2fc33a1ababf4b7daf3a40b944f1fd2a54ce864 Mon Sep 17 00:00:00 2001 From: zhouzp <1558048883@qq.com> Date: Wed, 17 Jun 2026 15:01:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E6=B8=B8=E6=88=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/controller/Index.php | 5 ++++- config/mini_game.php | 7 +++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/app/api/controller/Index.php b/app/api/controller/Index.php index 9bdb472..98b8d3c 100644 --- a/app/api/controller/Index.php +++ b/app/api/controller/Index.php @@ -105,6 +105,9 @@ class Index extends Frontend } $xyxServices = new XyxServices($player); $res = $xyxServices->login(['gameCode' => $gameId]); - $this->success('success',[$res]); + if ($res) { + return redirect($res); + } + $this->error('error'); } } \ No newline at end of file diff --git a/config/mini_game.php b/config/mini_game.php index 8b42ebf..b5ab1b6 100644 --- a/config/mini_game.php +++ b/config/mini_game.php @@ -1,8 +1,7 @@ 'Lucky Wheel', - 1002 => 'Golden Eggs', - 1003 => 'Daily Mission', - 1004 => 'Plinko Ball', + 268 => 'plinko_ball', + 269 => 'smash_eggs', + 270 => 'spin_wheel', ];