feat: 新增mongodb和rabbitmq依赖和配置

This commit is contained in:
2026-08-05 23:58:47 +08:00
parent e5fb30aec6
commit 1066f909ab
8 changed files with 56 additions and 2 deletions
+1 -1
View File
@@ -15,7 +15,7 @@
## 后端(ecom-dmb-backend)
- 构建 `./mvnw clean package -DskipTests`,运行 `./mvnw spring-boot:run`(默认 dev profile)
- 运行依赖环境变量:`DB_URL` / `DB_USERNAME` / `DB_PASSWORD` / `REDIS_HOST` / `REDIS_PASSWORD` / `JWT_SECRET`,见 README.md 与 `application-{profile}.yml`
- 运行依赖环境变量:`DB_URL` / `DB_USERNAME` / `DB_PASSWORD` / `REDIS_HOST` / `REDIS_PASSWORD` / `JWT_SECRET`,见 README.md 与 `application-{profile}.yml`;MongoDB / RabbitMQ 连接见各 profile(与 MySQL 同机,账号 `qinghua`)
- **拼多多 POP SDK 来自本地文件仓库 `libs/repo`(pom.xml 的 project-local repository,未入库)**:不要删除或清理;全新 clone 缺少它无法编译,需从别处恢复
- 测试 `./mvnw test`,单个 `./mvnw test -Dtest=RoleAspectTest`
- 架构设计文档在 `docs/`(订单统计读模型、权限控制、时间格式等),改动相关模块前先读