```
refactor(cool): 修复Logger变量名拼写错误 将全局Logger变量从Loger修正为Logger,统一日志实例命名规范, 确保所有模块中日志记录的一致性。 BREAKING CHANGE: 全局日志实例变量名从Loger改为Logger ```
This commit is contained in:
@@ -208,7 +208,7 @@ func (p *Player) ItemAdd(ItemId, ItemCnt uint32) (result bool) {
|
||||
default:
|
||||
itemx, ok := xmlres.ItemsMAP[int(ItemId)]
|
||||
if !ok {
|
||||
cool.Loger.Error(context.TODO(), "物品不存在", ItemId)
|
||||
cool.Logger.Error(context.TODO(), "物品不存在", ItemId)
|
||||
|
||||
t1 := common.NewTomeeHeader(2601, p.Info.UserID)
|
||||
t1.Result = uint32(errorcode.ErrorCodes.ErrSystemError200007)
|
||||
|
||||
Reference in New Issue
Block a user