From 273aa3164fbc887ac30837bd4ce1b25410ca498c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Mon, 25 Jul 2022 10:48:09 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=96=E6=B6=88=E8=AE=A2=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/q_bida/q_bida_server.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/business/q_bida/q_bida_server.go b/business/q_bida/q_bida_server.go index 5ae0cad30..8a0720969 100644 --- a/business/q_bida/q_bida_server.go +++ b/business/q_bida/q_bida_server.go @@ -236,10 +236,9 @@ func CancelWayOrder(ctx *jxcontext.Context, userId string, param *bida.CancelOrd OrderNo: order.OtherWayBill, Type: param.Type, } - api.QBiDaAPI.CancelOrder(cancelParma) - //if err := api.QBiDaAPI.CancelOrder(cancelParma); err != nil { - // return err - //} + if err := api.QBiDaAPI.CancelOrder(cancelParma); err != nil { + return err + } // 暂时考虑余额支付渠道,加载order表判断支付渠道方式 orderWay := &model.Order{OrderID: param.OrderNo, UserID: userId} if err := dao.GetEntity(dao.GetDB(), orderWay, "OrderID", "UserID"); err != nil {