Go to file
LingandRX 21e4c3ea8a refactor(user): 重构用户模块代码
- 移除了不必要的 getAllUsers 控制器方法
-重命名 findUserList 为 getUserList,更符合方法的实际功能- 引入 UserDTO 类,用于用户数据传输和验证
- 优化了错误处理和日志记录
- 简化了代码结构,提高了可读性和可维护性
2025-01-05 19:41:03 +08:00
bin refactor(user): 重构用户相关代码 2025-01-05 18:28:06 +08:00
common refactor(user): 重构用户相关代码 2025-01-05 18:44:46 +08:00
config refactor(config): 优化 MongoDB配置文件 2025-01-05 18:46:36 +08:00
controllers refactor(user): 重构用户模块代码 2025-01-05 19:41:03 +08:00
dto refactor(user): 重构用户模块代码 2025-01-05 19:41:03 +08:00
models refactor(user): 重构用户模块代码 2025-01-05 19:41:03 +08:00
repositories refactor(user): 重构用户模块代码 2025-01-05 19:41:03 +08:00
routes refactor(user): 重构用户模块代码 2025-01-05 19:41:03 +08:00
services refactor(user): 重构用户模块代码 2025-01-05 19:41:03 +08:00
utils refactor(user): 重构用户相关代码 2025-01-05 18:28:06 +08:00
.env refactor(env and controllers): 优化环境变量配置和用户控制器逻辑 2024-12-30 22:21:29 +08:00
.gitignore refactor: 优化项目结构和代码 2025-01-01 12:21:43 +08:00
.prettierrc refactor(config): 优化错误消息和日志记录 2025-01-04 23:25:29 +08:00
app.js refactor(user): 重构用户相关代码 2025-01-05 18:28:06 +08:00
package-lock.json refactor: 优化项目结构和代码 2025-01-01 12:21:43 +08:00
package.json refactor: 将项目从 CommonJS 迁移到 ES6 模块 2025-01-04 23:54:03 +08:00