This commit is contained in:
aaron 2025-02-19 00:13:46 +08:00
parent 3fe908cbfc
commit 0ca500a5de

View File

@ -246,7 +246,7 @@ async def create_order(
template_id=settings.DELIVERY_ORDER_CREATED_TEMPLATE_ID, template_id=settings.DELIVERY_ORDER_CREATED_TEMPLATE_ID,
data={ data={
"character_string13": db_order.orderid, "character_string13": db_order.orderid,
"time4": db_order.create_time, "time4": db_order.create_time.strftime("%Y-%m-%d %H:%M:%S"),
"thing10": db_order.address_customer_name, "thing10": db_order.address_customer_name,
"thing15": f"{db_order.address_community_name} {db_order.address_community_building_name} {db_order.address_detail}", "thing15": f"{db_order.address_community_name} {db_order.address_community_building_name} {db_order.address_detail}",
"thing9": db_order.status.status_text "thing9": db_order.status.status_text