refactor: 移除冗余日志输出并优化日志处理
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful
This commit is contained in:
@@ -180,7 +180,6 @@ func (s *InfoService) Gensession() string {
|
||||
|
||||
func (s *InfoService) Kick(id uint32) error {
|
||||
|
||||
cool.Logger.Info(context.TODO(), "服务器收到踢人")
|
||||
useid1, err := share.ShareManager.GetUserOnline(id)
|
||||
|
||||
if err != nil {
|
||||
@@ -198,7 +197,6 @@ func (s *InfoService) Kick(id uint32) error {
|
||||
}
|
||||
func (s *InfoService) Save(data model.PlayerInfo) {
|
||||
if cool.Config.ServerInfo.IsVip != 0 {
|
||||
cool.Logger.Info(context.TODO(), "测试服不保存玩家数据", s.userid)
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user