|
@@ -923,10 +923,10 @@ func (service OrderInfoService) buildOrderBestshopInfoData(orderBase *domain.Ord |
|
@@ -923,10 +923,10 @@ func (service OrderInfoService) buildOrderBestshopInfoData(orderBase *domain.Ord |
|
923
|
"paymentStatus": orderBase.Goods[i].BonusStatus,
|
923
|
"paymentStatus": orderBase.Goods[i].BonusStatus,
|
|
924
|
"partnerRatio": orderBase.Goods[i].PartnerBonusPercent,
|
924
|
"partnerRatio": orderBase.Goods[i].PartnerBonusPercent,
|
|
925
|
}
|
925
|
}
|
|
926
|
- // if orderBase.Goods[i].PartnerBonusPercent >= 0 {
|
|
|
|
927
|
- // hasPartnerBonusPercent = true
|
|
|
|
928
|
- // detail["partnerRatio"] = fmt.Sprint(orderBase.Goods[i].PartnerBonusPercent)
|
|
|
|
929
|
- // }
|
926
|
+ if orderBase.Goods[i].PartnerBonusPercent >= 0 {
|
|
|
|
927
|
+ hasPartnerBonusPercent = true
|
|
|
|
928
|
+ // detail["partnerRatio"] = fmt.Sprint(orderBase.Goods[i].PartnerBonusPercent)
|
|
|
|
929
|
+ }
|
|
930
|
goodBestshopId := orderBase.Goods[i].DataFrom.DataId
|
930
|
goodBestshopId := orderBase.Goods[i].DataFrom.DataId
|
|
931
|
if v, ok := orderGoodBestshopMap[goodBestshopId]; ok {
|
931
|
if v, ok := orderGoodBestshopMap[goodBestshopId]; ok {
|
|
932
|
detail["productCodes"] = v.Sn
|
932
|
detail["productCodes"] = v.Sn
|