feat(open_api): 统一开放接口命名并记录来源

- 将公共 API 相关处理器、路由与测试重命名为 Open API,统一接口语义。
- 新增发送来源 open_api,并在发送审计与队列中保存该来源。
- 前端发送队列来源标签新增 Open API 显示。
This commit is contained in:
LanQin_
2026-06-29 16:52:07 +08:00
parent cb07d5d501
commit 3afbdc4d4a
6 changed files with 94 additions and 69 deletions
+1
View File
@@ -1921,6 +1921,7 @@ function sendQueueSourceLabel(source: string) {
const normalized = source.toLowerCase()
if (normalized === "submission") return "SMTP Submission"
if (normalized === "webmail") return "Webmail"
if (normalized === "open_api") return "Open API"
if (normalized === "scheduled") return "定时发送"
return source || "未知"
}