Skip to content

Commit 0a8155e

Browse files
committed
Add new actions for API key management and refine existing action paths in audit logs
- Introduced actions for creating and deleting API keys in the actionMap. - Updated action paths for creating native packages and hot update packages for consistency.
1 parent b462ac9 commit 0a8155e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/pages/audit-logs.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,19 @@ const actionMap: Record<string, string> = {
6060
// 文件相关
6161
'POST /upload': '上传文件',
6262
// 原生包相关
63+
'POST /app/{id}/package/{id}/create': '创建原生包',
6364
'PUT /app/{id}/package/{id}': '修改原生包设置',
6465
'DELETE /app/{id}/package/{id}': '删除原生包',
6566
// 热更包相关
66-
'POST /app/{id}/version/{id}': '创建热更包',
67+
'POST /app/{id}/version/{id}/create': '创建热更包',
6768
'PUT /app/{id}/version/{id}': '修改热更包设置',
6869
'DELETE /app/{id}/version/{id}': '删除热更包',
6970
// 绑定相关
7071
'POST /app/{id}/binding': '创建/更新绑定',
7172
'DELETE /app/{id}/binding/{id}': '删除绑定',
73+
// api key 相关
74+
'POST /api-token/create': '创建 API Key',
75+
'DELETE /api-token/{id}': '删除 API Key',
7276
};
7377

7478
// 获取操作语义描述

0 commit comments

Comments
 (0)