From 9e1ebbd65991aaafba51ed4d7d6c5c7ab4dbe8d1 Mon Sep 17 00:00:00 2001 From: meixiongfeng <766881921@qq.com> Date: Mon, 26 Jun 2023 21:37:41 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A3=85=E5=A4=87=E5=9B=9E=E6=94=B6=E6=8A=A5?= =?UTF-8?q?=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/smithy/api_trade.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/modules/smithy/api_trade.go b/modules/smithy/api_trade.go index f8a8329c2..a86b1eafc 100644 --- a/modules/smithy/api_trade.go +++ b/modules/smithy/api_trade.go @@ -35,12 +35,6 @@ func (this *apiComp) Sell(session comm.IUserSession, req *pb.SmithySellReq) (err Code: code, Title: code.ToString(), } - } else { - errdata = &pb.ErrorData{ - Code: pb.ErrorCode_DBError, - Title: pb.ErrorCode_DBError.ToString(), - } - return } conf, err := this.module.configure.GetSmithyCustomerConf(req.CustomerId)