提交修改反射部分

This commit is contained in:
1
2025-08-28 14:38:13 +00:00
parent 7481182371
commit 921a121e11
9 changed files with 94 additions and 90 deletions

View File

@@ -30,7 +30,7 @@ func (h *Controller) Login(data *login.InInfo, c *entity.Conn) (result *login.Ou
t.MapId = 1
space.GetSpace(t.MapId).Set(t.UserID, t) //添加玩家
glog.Debug(context.Background(), "登录成功,初始地图 人数:", space.GetSpace(1).Len())
playerinfo := blservice.NewPlayerService().Person(uint(t.UserID))
playerinfo := blservice.NewUserService(t.UserID).Person()
t.Nick = playerinfo.Nick
// blservice.NewPlayerService().ProcessAndSave(t.UserID, func(t *model.PlayerInfo) error {