From f1308bbb095e236c8398d5841507eaba72d621b1 Mon Sep 17 00:00:00 2001 From: by <123456@qq.com> Date: Thu, 16 May 2024 13:54: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, 3 insertions(+), 1 deletion(-) diff --git a/worldsrv/trascate_webapi.go b/worldsrv/trascate_webapi.go index 1c33d3b..834d88a 100644 --- a/worldsrv/trascate_webapi.go +++ b/worldsrv/trascate_webapi.go @@ -4538,6 +4538,7 @@ func init() { BagMgrSingleton.AddItems(p, items, 0, common.GainWay_Exchange, "system", "商城兑换", 0, 0, false) pack.Tag = webapiproto.TagCode_SUCCESS pack.Msg = "AddItem success" + return common.ResponseTag_Ok, pack } else { BagMgrSingleton.AddItemsOffline(msg.Platform, msg.Snid, items, common.GainWay_Pay, "system", "", 0, 0, false, func(err error) { @@ -4550,9 +4551,10 @@ func init() { } tNode.TransRep.RetFiels = pack tNode.Resume() + }) + return common.ResponseTag_TransactYield, pack } - return common.ResponseTag_TransactYield, pack })) }