作者 唐旭辉

更新

... ... @@ -188,7 +188,7 @@ func (service OrderInfoService) buildOrderBaseInfoData(orderBase *domain.OrderBa
"notReceivedDividend": "",
"dividendSpending": "",
"orderNumber": orderBase.OrderCode,
"deliveryCode": orderBase.DeliveryCode,
"shipmentsId": orderBase.DeliveryCode,
"orderArea": orderBase.RegionInfo.RegionName,
"partnerCategory": orderBase.PartnerCategory.Name,
}
... ... @@ -402,7 +402,7 @@ func (service OrderInfoService) buildOrderBestshopInfoData(orderBase *domain.Ord
"orderNumber": orderBase.OrderCode,
"orderArea": orderBase.RegionInfo.RegionName,
"partnerCategory": orderBase.PartnerCategory.Name,
"deliveryCode": orderBase.DeliveryCode,
"shipmentsId": orderBase.DeliveryCode,
}
if hasPartnerBonusPercent {
order["partnerDividends"] = fmt.Sprint(orderBase.GetCurrentPartnerBonus())
... ...