From cff7df7bb046ebd541b36a93000ff2bea43e95a8 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:35:42 +0800 Subject: [PATCH] 1 --- business/q_bida/q_bida_server.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/business/q_bida/q_bida_server.go b/business/q_bida/q_bida_server.go index 2ab37a15c..8a0720969 100644 --- a/business/q_bida/q_bida_server.go +++ b/business/q_bida/q_bida_server.go @@ -236,7 +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 + } // 暂时考虑余额支付渠道,加载order表判断支付渠道方式 orderWay := &model.Order{OrderID: param.OrderNo, UserID: userId} if err := dao.GetEntity(dao.GetDB(), orderWay, "OrderID", "UserID"); err != nil {