上传日志优化

This commit is contained in:
liwei1dao 2023-12-19 13:55:44 +08:00
parent 13ec6c520c
commit c26783c877
2 changed files with 3 additions and 3 deletions

View File

@ -675,11 +675,11 @@ func (this *Buried) trigger(session comm.IUserSession, burieds ...*pb.BuriedPara
if len(notify) > 0 {
for k, v := range notify {
if module, err = this.service.GetModule(core.M_Modules(k)); err != nil {
this.Error("通知条件变化异常 目标模块未找到!", log.Field{Key: "module", Value: k}, log.Field{Key: "err", Value: err.Error()})
this.Warn("通知条件变化异常 目标模块未找到!", log.Field{Key: "module", Value: k}, log.Field{Key: "err", Value: err.Error()})
continue
}
if nmodule, ok = module.(comm.IBuriedUpdateNotify); !ok {
this.Error("通知条件变化异常 目标模块未实现 IBuriedUpdateNotify 接口 !", log.Field{Key: "module", Value: k})
this.Warn("通知条件变化异常 目标模块未实现 IBuriedUpdateNotify 接口 !", log.Field{Key: "module", Value: k})
continue
}
//异步通知指定模块

View File

@ -175,7 +175,7 @@ func (this *MCompConfigure) GetGroupDataByLottery(lotteryId int32, vipLv int32,
defer this.hlock.RUnlock()
if _, ok := this._lotteryType1[lotteryId]; !ok {
if _, ok := this._lotteryType2[lotteryId]; !ok {
this.module.Debugf("not found config lotterId:%d", lotteryId)
this.module.Warnf("not found config lotterId:%d", lotteryId)
return
}
}