This commit is contained in:
Baobhan Sith
2025-04-26 20:33:59 +08:00
parent 78a6207771
commit 9f4b248dff
2 changed files with 16 additions and 21 deletions
@@ -62,8 +62,8 @@ export const settingsController = {
} else {
auditLogService.logAction('SETTINGS_UPDATED', { updatedKeys });
notificationService.sendNotification('SETTINGS_UPDATED', { updatedKeys }); // 添加通知调用
}
}
}
}
res.status(200).json({ message: '设置已成功更新' });
} catch (error: any) {
console.error('更新设置时出错:', error);