...
|
...
|
@@ -181,12 +181,15 @@ func (service OrderInfoService) buildOrderBaseInfoData(orderBase *domain.OrderBa |
|
|
"partner": orderBase.PartnerInfo.PartnerName,
|
|
|
"phone": "",
|
|
|
"orderTime": orderBase.CreateTime.Local().Format("2006-01-02 15:04:05"),
|
|
|
"shippingStatus": orderBase.CreateTime.Local().Format("2006-01-02 15:04:05"),
|
|
|
"shippingStatus": "",
|
|
|
"partnerDividends": "",
|
|
|
"receivedDividends": "",
|
|
|
"notReceivedDividend": "",
|
|
|
"dividendSpending": "",
|
|
|
"orderNumber": orderBase.OrderCode,
|
|
|
"deliveryCode": orderBase.DeliveryCode,
|
|
|
"orderArea": orderBase.RegionInfo.RegionName,
|
|
|
"partnerCategory": orderBase.PartnerCategory.Name,
|
|
|
}
|
|
|
if hasPartnerBonusPercent {
|
|
|
order["partnerDividends"] = fmt.Sprint(orderBase.GetCurrentPartnerBonus())
|
...
|
...
|
@@ -395,6 +398,9 @@ func (service OrderInfoService) buildOrderBestshopInfoData(orderBase *domain.Ord |
|
|
"notReceivedDividend": "",
|
|
|
"dividendSpending": "",
|
|
|
"orderNumber": orderBase.OrderCode,
|
|
|
"orderArea": orderBase.RegionInfo.RegionName,
|
|
|
"partnerCategory": orderBase.PartnerCategory.Name,
|
|
|
"deliveryCode": orderBase.DeliveryCode,
|
|
|
}
|
|
|
if hasPartnerBonusPercent {
|
|
|
order["partnerDividends"] = fmt.Sprint(orderBase.GetCurrentPartnerBonus())
|
...
|
...
|
|