From 800d0203d1f1e0421f50796a88fc5325e7d2539f Mon Sep 17 00:00:00 2001 From: meixiongfeng <766881921@qq.com> Date: Thu, 20 Oct 2022 10:12:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/hero/api_fusion.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/hero/api_fusion.go b/modules/hero/api_fusion.go index 69f57fe29..1ad308662 100644 --- a/modules/hero/api_fusion.go +++ b/modules/hero/api_fusion.go @@ -63,8 +63,8 @@ func (this *apiComp) Fusion(session comm.IUserSession, req *pb.HeroFusionReq) (c return } } - for k, v := range _costMaphero { - code = this.module.DelCard(session.GetUserId(), v, mapHero[k]) + for k, v := range req.Heros { + code = this.module.DelCard(session.GetUserId(), _costMaphero[k], v) if code != pb.ErrorCode_Success { return }