feat: 增加通知 outbox 重发入口

This commit is contained in:
湛兮
2026-06-12 03:53:19 +08:00
parent c3c0d69401
commit 1dedafc7bc
3 changed files with 74 additions and 0 deletions
+8
View File
@@ -424,6 +424,14 @@ export const devopsApi = {
return Array.isArray(data) ? data.map(sanitizeNotificationOutboxMessage) : []
},
async retryNotificationOutboxMessage(id: string): Promise<NotificationOutboxMessage> {
const { data } = await http.post<NotificationOutboxMessage>(
`/notification-outbox/${id}/retry`,
)
lastDataSource = 'backend'
return sanitizeNotificationOutboxMessage(data)
},
async getAgentCards(): Promise<AgentCard[]> {
return agentCards
},