From df1c5e9d5b113452843753ccec9b6faf9841ad8c Mon Sep 17 00:00:00 2001 From: meixiongfeng <766881921@qq.com> Date: Tue, 17 Oct 2023 14:16:51 +0800 Subject: [PATCH] update --- modules/smithy/api_trade.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/smithy/api_trade.go b/modules/smithy/api_trade.go index ab2069053..afc84faf4 100644 --- a/modules/smithy/api_trade.go +++ b/modules/smithy/api_trade.go @@ -55,7 +55,9 @@ func (this *apiComp) Sell(session comm.IUserSession, req *pb.SmithySellReq) (err } // 发奖励 - errdata, atno = this.module.DispenseAtno(session, conf.Reword, true) + if errdata, atno = this.module.DispenseAtno(session, conf.Reword, true); errdata != nil { + return + } rsp := &pb.SmithySellResp{ CustomerId: req.CustomerId,