杂务:将消息中心拆分为独立仓库

This commit is contained in:
xiaowang
2026-05-15 09:52:00 +08:00
parent 479b3e30af
commit 3d0a859980
141 changed files with 6 additions and 15214 deletions
+6 -11
View File
@@ -8,8 +8,10 @@
覆盖网页前台、后台管理、网关、核心业务、数据库初始化脚本。
2. `WeChatProgram`
面向普通用户的小程序端,和主业务系统共用一套核心后端接口。
3. `MessageHub` 与日历子系统
`MessageHub` 负责短信/邮件异步消息能力;`YumiNail-Calendar-*` 提供独立的预约日历子系统。
3. `YumiNail-Calendar-*` 日历子系统
提供独立的预约日历前端、网关和后端服务。
`MessageHub` 已拆分为独立仓库:`http://wcy111.top:3000/xiaowang/messgehub.git`。
## 仓库模块
@@ -19,7 +21,6 @@
| `WeChatProgram` | 微信小程序 | 用户端小程序入口 |
| `YumiNail-Gateway` | Spring Cloud Gateway | 主业务统一 API 入口 |
| `YumiNail-Core` | Spring Boot | 用户、店铺、商品、订单、优惠券、权限、文件等核心业务 |
| `MessageHub` | Spring Boot | 短信/邮件消息中心,支持通道管理、来源系统管理、测试发送 |
| `YumiNail-Calendar-Frontend` | Vue 3 前端 | 美甲师预约日历独立前端 |
| `YumiNail-Calendar-Gateway` | Gateway | 日历系统网关 |
| `YumiNail-Calendar-Core` | Spring Boot | 日历系统后端 |
@@ -28,9 +29,9 @@
## 运行依赖
- `Nacos`:注册中心与配置中心
- `MySQL`:主业务、MessageHub、日历系统数据存储
- `MySQL`:主业务、日历系统数据存储
- `Redis`:登录态、验证码、缓存、临时 ticket
- `RabbitMQ`:主业务到 MessageHub 的异步消息投递
- `RabbitMQ`:主业务异步消息投递
- `MinIO`:对象存储与图片文件访问
- `JDK 21`、`Maven`、`Node.js / npm`
@@ -53,12 +54,6 @@
- 已部署环境做增量升级时,再按补丁文件逐步执行:
- `YumiNail-Core/src/main/resources/files/*.sql`
### MessageHub
- 推荐执行:
- `MessageHub/src/main/resources/sql/2026-03-23_messagehub_complete_manual_init.sql`
- 如果是历史环境增量升级,可按 `MessageHub/src/main/resources/sql/` 下的补丁文件逐步执行。
## 推荐阅读顺序
1. 先阅读 [README](README.md) 了解模块边界。