优化/api/game/playStart接口

This commit is contained in:
2026-03-06 10:42:03 +08:00
parent cfe026b5eb
commit 7a4d89d216
2 changed files with 8 additions and 7 deletions

View File

@@ -38,7 +38,7 @@ class PlayStartLogic
/**
* 执行一局游戏
* @param int $playerId 玩家ID
* @param int $direction 方向 0=无/顺时针 1=中奖/逆时针(前端 rediction
* @param int $direction 方向 0=无/顺时针 1=中奖/逆时针(前端 direction
* @return array 成功返回 DicePlayRecord 数据;余额不足时抛 ApiExceptionmessage 为约定文案
*/
public function run(int $playerId, int $direction): array