This commit is contained in:
meixiongfeng 2023-08-21 10:25:40 +08:00
commit f030c84326
3 changed files with 5 additions and 5 deletions

View File

@ -599,8 +599,7 @@ func (this *Buried) trigger(session comm.IUserSession, burieds ...*pb.BuriedPara
nmodule.BuriedsNotify(session, v)
}
}
// this.wtask.BuriedsNotify(session, changes)
// this.smithy.BuriedsNotify(session, changes)
}
// 更新并校验完成

View File

@ -200,10 +200,10 @@ func (this *Pay) Rpc_ModulePayDelivery(ctx context.Context, args *pb.PayDelivery
return
}
}
go func() {
go func(_session comm.IUserSession) {
this.ModuleHero.RechargeMoney(args.Uid, args.Price)
this.ModuleBuried.TriggerBuried(session.Clone(), comm.GetBuriedParam(comm.Rtype229, 1, conf.Pid))
}()
this.ModuleBuried.TriggerBuried(_session, comm.GetBuriedParam(comm.Rtype229, 1, conf.Pid))
}(session.Clone())
return
}

View File

@ -192,6 +192,7 @@ func (this *PushGiftbag) BuriedsNotify(session comm.IUserSession, condis []*pb.C
this.model.Change(session.GetUserId(), map[string]interface{}{
"item": info.Item,
})
this.Debug("推送礼包", log.Field{Key: "礼包", Value: info.Item})
session.SendMsg(string(this.GetType()), "chanage", &pb.PushGiftbagChanagePush{Item: info.Item})
}
}