From d0bae37a7fc701e6b601d06b0443d3facd5fc9ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Mon, 10 Apr 2023 17:39:05 +0800 Subject: [PATCH] 1 --- business/partner/purchase/jx/order_afs.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/business/partner/purchase/jx/order_afs.go b/business/partner/purchase/jx/order_afs.go index 730aa90ea..746726e50 100644 --- a/business/partner/purchase/jx/order_afs.go +++ b/business/partner/purchase/jx/order_afs.go @@ -177,5 +177,11 @@ func isJxShop(appID string) bool { } func (c *PurchaseHandler) GetOrderAfsInfo(ctx *jxcontext.Context, vendorOrderID, afsOrderID string) (orderAfsInfo *partner.OrderAfsInfo, err error) { + orderAfsInfo = &partner.OrderAfsInfo{} + + if order, err := partner.CurOrderManager.LoadOrder(vendorOrderID, model.VendorIDJX); err == nil { + orderAfsInfo.AfsTotalShopMoney = order.TotalShopMoney + } + orderAfsInfo.VendorOrderID = vendorOrderID return orderAfsInfo, err }