提交修改反射部分

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

@@ -10,6 +10,6 @@ import (
// 处理命令: 1001
func (h *Controller) CreatePlayer(data *login.CreatePlayerInboundInfo, c *entity.Conn) (result *login.CreatePlayerOutInfo, err errorcode.ErrorCode) {
service.NewPlayerService().Reg(uint(data.Head.UserID), data.Nickname, data.Color)
service.NewUserService(data.Head.UserID).Reg(data.Nickname, data.Color)
return result, 0
}