Commit Graph

5 Commits

Author SHA1 Message Date
likingcode
862e3c6a6a Update: backend config and frontend build 2026-03-18 15:18:30 +08:00
likingcode
a67496694c feat: 添加用户管理模块 + username/email 唯一约束
- 新增 UserController,实现完整的用户 CRUD 接口
- 扩展 SysUserService 接口和实现类
- 为 sys_user 表添加 username 和 email 唯一约束
- 添加 phone、role_type、status 索引优化查询性能
- 修复 Result 类方法名(failed -> error)

相关接口:
- GET /api/users - 获取用户列表(分页)
- GET /api/users/:id - 获取用户详情
- POST /api/users - 创建用户
- PUT /api/users/:id - 更新用户
- DELETE /api/users/:id - 删除用户
- GET /api/users/teachers - 获取教师列表
- POST /api/users/change-password - 修改密码
- PUT /api/users/profile - 更新个人资料
2026-03-13 10:31:24 +08:00
likingcode
c6a845f405 feat: 完善创新平台后端功能
- 完善实体类和DTO
- 添加认证控制器
- 添加项目管理控制器和服务
- 更新数据库配置和初始化脚本
- 优化Docker配置
2026-03-07 05:22:04 +00:00
likingcode
95d1b5e070 feat: 部署配置完成,添加 MySQL 和 Docker 支持 2026-03-02 00:15:32 +00:00
likingcode
3aa68a4de7 添加预埋测试数据 2026-03-01 23:48:28 +00:00