diff --git a/app/core/wecombot.py b/app/core/wecombot.py index 6521c9e..08a0084 100644 --- a/app/core/wecombot.py +++ b/app/core/wecombot.py @@ -185,13 +185,13 @@ class WecomBot: try: if notify_type == OrderStatus.CREATED: title = "🆕 新订单通知" - color = "green" + color = "yellow" elif notify_type == OrderStatus.RECEIVED: title = "🚚 已接单通知" color = "blue" elif notify_type == OrderStatus.COMPLETED: title = "✅ 配送完成通知" - color = "blue" + color = "green" elif notify_type == OrderStatus.CANCELLED: title = "❌ 订单取消通知" color = "red" @@ -200,11 +200,12 @@ class WecomBot: content = f"""# {title} -> 订单号: {shipping_order.orderid} +> 订单号: {shipping_order.orderid} > 下单时间: {CommonUtils.get_asia_datetime(shipping_order.create_time)} > 包裹数量: {shipping_order.package_count}个 > 订单金额: ¥{shipping_order.original_amount} > 实付金额: ¥{shipping_order.final_amount} +> 订单状态: {shipping_order.status.status_text} **收件信息** > 姓名: {shipping_order.address_customer_name}