营业时间列表修改
This commit is contained in:
@@ -298,7 +298,6 @@ func GetAvailableDeliverTime(ctx *jxcontext.Context, storeID int) (deliverTimerL
|
||||
UnixTime: 0,
|
||||
ViewShippingFee: viewShippingFee,
|
||||
})
|
||||
deliverTimerList = append(deliverTimerList, timeInfo)
|
||||
}
|
||||
}
|
||||
for j := 0; j < 24*3; j++ {
|
||||
@@ -314,6 +313,9 @@ func GetAvailableDeliverTime(ctx *jxcontext.Context, storeID int) (deliverTimerL
|
||||
}
|
||||
}
|
||||
}
|
||||
if len(timeInfo.TimeList) > 0 {
|
||||
deliverTimerList = append(deliverTimerList, timeInfo)
|
||||
}
|
||||
beginDate = beginDate.Add(24 * time.Hour)
|
||||
}
|
||||
return deliverTimerList, err
|
||||
|
||||
Reference in New Issue
Block a user