update
This commit is contained in:
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user