小游戏修改
This commit is contained in:
@@ -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');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -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',
|
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user