登录页加载态、日志动作补齐与绑定按钮禁用态
This commit is contained in:
@@ -4,6 +4,11 @@
|
||||
*/
|
||||
const exact: Record<string, string> = {
|
||||
'POST /api/v1/auth/login': '登录面板',
|
||||
'POST /api/v1/auth/logout': '退出登录',
|
||||
'GET /api/v1/auth/oauth/:provider/callback': '外部身份登录 / 绑定',
|
||||
'PUT /api/v1/auth/credentials': '修改登录凭据',
|
||||
'PUT /api/v1/auth/password-login': '切换密码登录开关',
|
||||
'POST /api/v1/auth/revoke-sessions': '撤销全部会话',
|
||||
'POST /api/v1/auth/totp/setup': '发起两步验证绑定',
|
||||
'POST /api/v1/auth/totp/activate': '启用两步验证',
|
||||
'POST /api/v1/auth/totp/disable': '停用两步验证',
|
||||
@@ -42,6 +47,25 @@ const exact: Record<string, string> = {
|
||||
'DELETE /api/v1/tasks/:id': '删除后台任务',
|
||||
'POST /api/v1/tasks/:id/run': '手动执行任务',
|
||||
'POST /api/v1/webhooks/oci-logs/:secret': '回传消息投递',
|
||||
'POST /api/v1/ai-keys': '创建网关密钥',
|
||||
'PUT /api/v1/ai-keys/:id': '修改网关密钥',
|
||||
'DELETE /api/v1/ai-keys/:id': '删除网关密钥',
|
||||
'PUT /api/v1/ai-keys/:id/content-log': '设置密钥内容留痕',
|
||||
'POST /api/v1/ai-channels': '创建网关渠道',
|
||||
'PUT /api/v1/ai-channels/:id': '修改网关渠道',
|
||||
'DELETE /api/v1/ai-channels/:id': '删除网关渠道',
|
||||
'POST /api/v1/ai-channels/:id/probe': '探测网关渠道',
|
||||
'POST /api/v1/ai-channels/:id/sync-models': '同步渠道模型',
|
||||
'POST /api/v1/ai-blacklist': '拉黑模型',
|
||||
'DELETE /api/v1/ai-blacklist/:id': '移出模型黑名单',
|
||||
'PUT /api/v1/ai-settings': '保存网关设置',
|
||||
'PUT /api/v1/settings/notify-channels/:type': '保存通知渠道配置',
|
||||
'POST /api/v1/settings/notify-channels/:type/test': '发送通知测试消息',
|
||||
'PUT /api/v1/settings/notify-templates/:kind': '保存通知模板',
|
||||
'POST /api/v1/settings/notify-templates/:kind/test': '发送模板测试消息',
|
||||
'POST /api/v1/proxies/import': '批量导入代理',
|
||||
'POST /api/v1/proxies/:id/probe': '探测代理',
|
||||
'PUT /api/v1/proxies/:id/tenants': '设置代理关联租户',
|
||||
}
|
||||
|
||||
/** 资源段兜底词典:精确表未命中时以「动词 + 资源」组合 */
|
||||
|
||||
Reference in New Issue
Block a user