取消订单,模板消息小程序链接

This commit is contained in:
aaron 2025-02-23 01:44:14 +08:00
parent 647bf6722a
commit 43203edc95

View File

@ -665,6 +665,10 @@ async def cancel_order(
"character_string1": order.orderid,
"time19": CommonUtils.get_current_time(),
"thing5": "用户主动取消订单"
},
miniprogram={
"appid": settings.WECHAT_APPID,
"path": f"/pages/order/detail/index?id={order.orderid}"
}
)
@ -860,6 +864,10 @@ async def deliveryman_cancel_order(
"character_string1": order.orderid,
"time19": CommonUtils.get_current_time(),
"thing5": order.cancel_reason
},
miniprogram={
"appid": settings.WECHAT_APPID,
"path": f"/pages/order/detail/index?id={order.orderid}"
}
)
return success_response(