This commit is contained in:
苏尹岚
2020-10-13 15:17:13 +08:00
parent a293c48428
commit 9890a1c3cf

View File

@@ -214,6 +214,7 @@ func (p *PurchaseHandler) UpdateStore(db *dao.DaoDB, storeID int, userName strin
StartCharge: int64(storeDetail.FreightDeductionPackObj.StartPrice),
}
if len(storeDetail.FreightDeductionPackObj.FreightDeductionList) > 0 {
globals.SugarLogger.Debug("FreightDeductionPackObj", utils.Format4Output(storeDetail.FreightDeductionPackObj, false))
for _, v := range storeDetail.FreightDeductionPackObj.FreightDeductionList {
if v.DeductFreight > 0 {
freightParams.FreeFreightInfoList = append(freightParams.FreeFreightInfoList, &jdapi.FreeFreightInfo{