小游戏修改

This commit is contained in:
2026-06-17 15:01:29 +08:00
parent 6e1fc0c3ef
commit c2fc33a1ab
2 changed files with 7 additions and 5 deletions

View File

@@ -105,6 +105,9 @@ class Index extends Frontend
} }
$xyxServices = new XyxServices($player); $xyxServices = new XyxServices($player);
$res = $xyxServices->login(['gameCode' => $gameId]); $res = $xyxServices->login(['gameCode' => $gameId]);
$this->success('success',[$res]); if ($res) {
return redirect($res);
}
$this->error('error');
} }
} }

View File

@@ -1,8 +1,7 @@
<?php <?php
return [ return [
1001 => 'Lucky Wheel', 268 => 'plinko_ball',
1002 => 'Golden Eggs', 269 => 'smash_eggs',
1003 => 'Daily Mission', 270 => 'spin_wheel',
1004 => 'Plinko Ball',
]; ];