小游戏修改

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);
$res = $xyxServices->login(['gameCode' => $gameId]);
$this->success('success',[$res]);
if ($res) {
return redirect($res);
}
$this->error('error');
}
}

View File

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