feat: 打通通知回执与消息状态留痕
This commit is contained in:
@@ -193,6 +193,11 @@ def _build_notification_payload(structured_output: dict, options: dict, status:
|
||||
"product_name": str(options.get("product_name", "")),
|
||||
"notify_reason": notify_reason,
|
||||
"owners": owners,
|
||||
"mentioned_users": structured_output.get("mentioned_users") or [],
|
||||
"message_status": structured_output.get("message_status")
|
||||
or ("sent" if status == "success" else "failed"),
|
||||
"web_detail_url": structured_output.get("web_detail_url", ""),
|
||||
"receipt": structured_output.get("receipt") or {},
|
||||
"status": status,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user