From bbc8763e7625f7c8c471ae08b63938e1601b0c32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Thu, 21 Jan 2021 16:10:42 +0800 Subject: [PATCH] aa --- business/jxstore/cms/job.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/business/jxstore/cms/job.go b/business/jxstore/cms/job.go index 3d2bbd14c..783bebaed 100644 --- a/business/jxstore/cms/job.go +++ b/business/jxstore/cms/job.go @@ -1320,7 +1320,9 @@ func GetAllDeliveryDetail(ctx *jxcontext.Context, vendorWaybillID, comType strin return getWaybillDetailInfoResult, err } } - getWaybillDetailInfoResult, err = api.TxAPI.GetWaybillDetailInfo(vendorWaybillID, comType) + if getWaybillDetailInfoResult, err = api.TxAPI.GetWaybillDetailInfo(vendorWaybillID, comType); err != nil { + return nil, err + } jobOrder.WaybillQueryTime = time.Now() if waybillInfo, err := json.Marshal(getWaybillDetailInfoResult); err == nil { jobOrder.WaybillInfo = string(waybillInfo)