优化路径,添加消息推送

This commit is contained in:
2026-04-17 12:14:57 +08:00
parent b8a842367b
commit 0da5936ce0
34 changed files with 2472 additions and 435 deletions
+5 -1
View File
@@ -35,7 +35,11 @@ export async function POST(request: Request) {
importance: typeof body.importance === "string" ? body.importance : undefined,
});
return NextResponse.json({ ok: true, messageId: message.id });
return NextResponse.json({
ok: true,
messageId: message.id,
publicId: message.publicId,
});
} catch (error) {
return NextResponse.json(
{