项目介绍(原地址:https://github.com/macrozheng/mall-swarm)
mall-swarm 是一套微服务商城系统,采用了Spring Cloud Hoxton & Alibaba、Spring Boot 2.3、Oauth2、MyBatis、Elasticsearch、Docker、Kubernetes等核心技术,同时提供基于Vue的管理后台方便快速搭建系统。mall-swarm在电商业务的基础集成了注册中心、配置中心、监控中心、网关等系统功能。
系统架构图
组织结构
mall
├── mall-common – 工具类及通用代码模块
├── mall-mbg – MyBatisGenerator生成的数据库操作代码模块
├── mall-auth – 基于Spring Security Oauth2的统一的认证中心
├── mall-gateway – 基于Spring Cloud Gateway的微服务API网关服务
├── mall-monitor – 基于Spring Boot Admin的微服务监控中心
├── mall-admin – 后台管理系统服务
├── mall-search – 基于Elasticsearch的商品搜索系统服务
├── mall-portal – 移动端商城系统服务
├── mall-demo – 微服务远程调用测试服务
└── config – 配置中心存储的配置
问题
- 构建项目中在项目的pom.xml中spring-boot-starter-parent和spring-boot-dependencies导入依赖管理时有什么区别?
名称 | property覆盖 | 多继承 |
---|---|---|
spring-boot-starter-parent | 支持 | 无法解决 |
spring-boot-dependencies | 不支持 | 可以解决 |