Files
HAOVP/docs/video-user模块目录架构、功能及接口文档.md
T
Toys-A 30c17f01e9 docs: Refresh deployment and API documentation
- Align deployment guidance with the current three-node Compose topology
- Document the current frontend architecture and development workflow
- Replace the stale API list with a controller-based route index
2026-08-18 23:37:49 +08:00

21 lines
1.1 KiB
Markdown

# video-user 模块
用户服务端口为 `9002`,负责平台用户域,不负责登录凭据签发。
## 当前功能与 Controller
| Controller | 前缀 | 功能 |
| --- | --- | --- |
| `UserProfileController` | `/user/profile` | 用户资料、头像上传、公开主页、用户搜索、计数维护 |
| `UserFollowController` | `/user/follow` | 关注、取消关注、关注/粉丝列表与状态查询 |
| `UserMessageController` | `/user/message` | 私信会话、明细、已读和未读数 |
| `UserNotificationController` | `/user/notification` | 站内通知与已读状态 |
| `UserSettingController` | `/user/setting` | 个人设置 |
| `AdminUserController` | `/user/profile/admin` | 管理端用户查询、状态和统计 |
## 实现要点
- 使用 MyBatis-Plus、MySQL 与 Redis;头像通过共享 MinIO 工具上传。
- 头像请求限制定义在 `application.yml`:默认单文件/请求 10 MB,业务头像大小默认 5 MB,可由环境变量覆盖。
- 服务通过 Feign 与认证、内容等服务协作。前端经网关访问,不使用文档中的旧 `localhost:9002` 直连示例。