From 71c39e3829d90dcfa940ffe8caada55e55c6f702 Mon Sep 17 00:00:00 2001 From: wucongxing <815046773@qq.com> Date: Mon, 11 Sep 2023 15:30:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E8=8D=AF=E5=93=81=E8=AE=A2?= =?UTF-8?q?=E5=8D=95=E8=AF=A6=E6=83=85-wuliu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/service/orderProduct.go | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/api/service/orderProduct.go b/api/service/orderProduct.go index 382e251..cef52de 100644 --- a/api/service/orderProduct.go +++ b/api/service/orderProduct.go @@ -134,7 +134,17 @@ func (r *OrderProductService) GetOrderProductLogistics(orderProductId int64) (u return nil, nil } - u = &orderProductLogisticsResponse.OrderProductLogistics{} + u = &orderProductLogisticsResponse.OrderProductLogistics{ + LogisticsId: fmt.Sprintf("%d", orderProductLogistics.LogisticsId), + OrderProductId: fmt.Sprintf("%d", orderProductLogistics.OrderProductId), + LogisticsStatus: orderProductLogistics.LogisticsStatus, + LogisticsNo: orderProductLogistics.LogisticsNo, + CompanyName: orderProductLogistics.CompanyName, + CompanyCode: orderProductLogistics.CompanyCode, + LogisticsContent: orderProductLogistics.LogisticsContent, + CreatedAt: orderProductLogistics.CreatedAt, + UpdatedAt: orderProductLogistics.UpdatedAt, + } return u, nil }