战斗修复

This commit is contained in:
meixiongfeng 2024-01-08 10:06:09 +08:00
parent c6caa9ff58
commit 2a6e2339c5

View File

@ -1185,7 +1185,7 @@ func (this *modelBattleComp) createAddDebuffPve(session comm.IUserSession, stag
Leadpos: req.Format.Leadpos,
Team: make([]*pb.BattleRole, len(req.Format.Format)),
}
model := db.NewDBModel(comm.TableHero, stag, conn)
model := db.NewDBModel(stag, comm.TableHero, conn)
if user, err = this.module.ModuleUser.GetUserExpand(session.GetUserId()); err != nil {
errdata = &pb.ErrorData{
Code: pb.ErrorCode_DBError,