From 5eb29259c12473d53bcd0f5b429aaa81543d8266 Mon Sep 17 00:00:00 2001 From: by <123456@qq.com> Date: Thu, 16 May 2024 11:59:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8E=E5=8F=B0=E5=A2=9E=E5=8A=A0=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E9=81=93=E5=85=B7=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- worldsrv/trascate_webapi.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/worldsrv/trascate_webapi.go b/worldsrv/trascate_webapi.go index c86fd79..1c33d3b 100644 --- a/worldsrv/trascate_webapi.go +++ b/worldsrv/trascate_webapi.go @@ -4536,6 +4536,8 @@ func init() { if p != nil { //获取道具Id BagMgrSingleton.AddItems(p, items, 0, common.GainWay_Exchange, "system", "商城兑换", 0, 0, false) + pack.Tag = webapiproto.TagCode_SUCCESS + pack.Msg = "AddItem success" } else { BagMgrSingleton.AddItemsOffline(msg.Platform, msg.Snid, items, common.GainWay_Pay, "system", "", 0, 0, false, func(err error) { @@ -4550,8 +4552,6 @@ func init() { tNode.Resume() }) } - pack.Tag = webapiproto.TagCode_SUCCESS - pack.Msg = "AddItem success" return common.ResponseTag_TransactYield, pack })) }