diff --git a/business/partner/purchase/jx/localjx/order.go b/business/partner/purchase/jx/localjx/order.go index 18d5b8440..3cc5211b0 100644 --- a/business/partner/purchase/jx/localjx/order.go +++ b/business/partner/purchase/jx/localjx/order.go @@ -228,7 +228,8 @@ func GetAvailableDeliverTime(ctx *jxcontext.Context, storeID int, timeStr string if storeDetail.Status != model.StoreStatusOpened { return nil, fmt.Errorf("门店:%s不是营业状态,状态是:%s", storeDetail.Name, model.StoreStatusName[storeDetail.Status]) } - now := time.Now() + now := utils.Str2Time(timeStr) + // now := time.Now() beginDate := utils.Time2Date(utils.Str2Time(timeStr)) // beginDate := utils.Time2Date(now) minDingShiDaTime := now.Add(DingShiDaMinTime)