```
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful

fix(game): 修正扭蛋游戏错误码并清理调试代码

- 将扭蛋游戏中道具不足的错误码从系统错误修正为票券不足错误码
- 移除战斗服务中的调试打印语句和未使用的fmt包导入
```
This commit is contained in:
昔念
2026-02-03 23:57:06 +08:00
parent 4b83346f36
commit 76ee66f616
2 changed files with 2 additions and 3 deletions

View File

@@ -22,7 +22,7 @@ func (h Controller) EggGamePlay(data1 *egg.C2S_EGG_GAME_PLAY, c *player.Player)
}
r := c.Service.Item.CheakItem(400501)
if r < uint32(data1.EggNum) {
return nil, errorcode.ErrorCode(errorcode.ErrorCodes.ErrSystemError)
return nil, errorcode.ErrorCode(errorcode.ErrorCodes.ErrGachaTicketsInsufficient)
}
result = &egg.S2C_EGG_GAME_PLAY{ListInfo: []data.ItemInfo{}}