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

chore(login): 添加调试代码用于任务状态测试

添加了临时的调试代码来测试玩家任务状态,
包括打印任务信息和设置特定任务为完成状态
```
This commit is contained in:
昔念
2026-02-27 23:43:00 +08:00
parent b6ec530c68
commit 9485c510c0

View File

@@ -61,6 +61,11 @@ func (h Controller) Login(data *user.MAIN_LOGIN_IN, c gnet.Conn) (result *user.L
defer space.GetSpace(currentPlayer.Info.MapID).EnterMap(currentPlayer)
// for i := 0; i < 5; i++ {
// fmt.Println("任务", i, currentPlayer.Info.GetTask(312+i))
// }
// currentPlayer.Info.SetTask(315, model.Completed)
currentPlayer.IsLogin = true
return result, 0