This commit is contained in:
Baobhan Sith
2025-05-10 14:54:21 +08:00
parent 65f208c407
commit b1865b72da
4 changed files with 0 additions and 10 deletions
@@ -576,10 +576,6 @@ export const addTagToConnections = async (connectionIds: number[], tagId: number
export const updateConnectionTags = async (connectionId: number, tagIds: number[]): Promise<boolean> => {
try {
const updated = await ConnectionRepository.updateConnectionTags(connectionId, tagIds);
// if (updated) {
// // TODO: 定义 'CONNECTION_TAGS_UPDATED' 审计日志类型
// // auditLogService.logAction('CONNECTION_TAGS_UPDATED', { connectionId, tagIds });
// }
return updated;
} catch (error: any) {
console.error(`Service: 更新连接 ${connectionId} 的标签时发生错误:`, error);
@@ -619,9 +619,6 @@ export class SftpService {
}
}
// TODO: Implement file upload/download logic with progress reporting
// async uploadFile(...)
// async downloadFile(...)
/** 获取路径的绝对表示 */
async realpath(sessionId: string, path: string, requestId: string): Promise<void> {