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