From 5ccad643d83e92ec0646d432f30e51960c101b35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Tue, 19 May 2020 08:45:51 +0800 Subject: [PATCH] =?UTF-8?q?=E8=90=A5=E4=B8=9A=E5=8D=B3=E9=80=81=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/partner/purchase/jx/localjx/order.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/business/partner/purchase/jx/localjx/order.go b/business/partner/purchase/jx/localjx/order.go index 6cde18c05..4613a34fd 100644 --- a/business/partner/purchase/jx/localjx/order.go +++ b/business/partner/purchase/jx/localjx/order.go @@ -339,7 +339,9 @@ func GetAvailableDeliverTime(ctx *jxcontext.Context, storeID int) (deliverTimerL beginDate = beginDate.Add(24 * time.Hour) } if len(deliverTimerList) > 0 { - deliverTimerList[0].TimeList[0].ViewTime = "营业即送" + if deliverTimerList[0].TimeList[0].UnixTime != 0 { + deliverTimerList[0].TimeList[0].ViewTime = "营业即送" + } } return deliverTimerList, err }