From 2a6e2339c5a9972ed64783beb010bd804fbaa768 Mon Sep 17 00:00:00 2001 From: meixiongfeng <766881921@qq.com> Date: Mon, 8 Jan 2024 10:06:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=98=E6=96=97=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/battle/modelBattle.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/battle/modelBattle.go b/modules/battle/modelBattle.go index 03d7d6798..5277b91c4 100644 --- a/modules/battle/modelBattle.go +++ b/modules/battle/modelBattle.go @@ -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,