Skip to content

Commit 9f83650

Browse files
committed
Refactor action paths in audit logs for consistency
- Updated action paths for creating native packages and hot update packages to remove redundant ID segments. - Ensured clarity and uniformity in the actionMap for better maintainability.
1 parent 77eec81 commit 9f83650

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pages/audit-logs.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,11 @@ const actionMap: Record<string, string> = {
6060
// 文件相关
6161
'POST /upload': '上传文件',
6262
// 原生包相关
63-
'POST /app/{id}/package/{id}/create': '创建原生包',
63+
'POST /app/{id}/package/create': '创建原生包',
6464
'PUT /app/{id}/package/{id}': '修改原生包设置',
6565
'DELETE /app/{id}/package/{id}': '删除原生包',
6666
// 热更包相关
67-
'POST /app/{id}/version/{id}/create': '创建热更包',
67+
'POST /app/{id}/version/create': '创建热更包',
6868
'PUT /app/{id}/version/{id}': '修改热更包设置',
6969
'DELETE /app/{id}/version/{id}': '删除热更包',
7070
// 绑定相关

0 commit comments

Comments
 (0)