This commit is contained in:
aaron 2025-03-04 22:49:21 +08:00
parent dab94be283
commit ba64875b5c

View File

@ -442,7 +442,7 @@ async def get_order_detail(
# 如果配送时段不为空,则使用配送时段的时间 # 如果配送时段不为空,则使用配送时段的时间
if order.time_period_id: if order.time_period_id:
delivery_time = f"预计 {order.time_period_name} {order.time_period_from_time.strftime('%H:%M')} - {order.time_period_to_time.strftime('%H:%M')} 送达" delivery_time = f"预计 {order.time_period_name} 送达"
# 构建响应数据 # 构建响应数据
order_data = { order_data = {