《果然新鲜》电商项目(02)- 项目结构初定

1.引言

在上一节《果然新鲜电商项目(01) - 需求讨论与技术选型》主要制定了「需求」和「技术的选型」,架构图如下:
在这里插入图片描述
本章来认识项目基本结构!

2.项目结构

注意:含有module的maven类型选择为Pom类型,每个module类型为jar类型。

2.1 公共父类接口(parent)

guoranxinxian-shop

2.2 工具类(common)

guoranxinxian-shop-common-core - - - - - - - - - - - - - - 核心工具类

2.3 分布式基础设施(basics)

guoranxinxian-shop-basics-eureka - - - - - - - - - - - - - 注册中心 8080
guoranxinxian-shop-basics-apollo-config-server- - - - 阿波罗分布式配置中心
guoranxinxian-shop-basics-zuul - - - - - - - - - - - - - - - 统一请求入口 80
guoranxinxian-shop-basics-xxljob - - - - - - - - - - - - - - 分布式任务调度平台
guoranxinxian-shop-basics-lcn - - - - - - - - - - - - - - - - 分布式事务解决框架
guoranxinxian-shop-basics-zipkin - - - - - - - - - - - - - - 分布式调用链系统

2.4 接口层(service)

服务接口中包含内存内容: 「实体类层」、「接口层」

guoranxinxian-shop-service-api-weixin - - - - - - - - - - -微信服务接口
guoranxinxian-shop-service-api-member - - - - - - - - - -会员服务接口
guoranxinxian-shop-service-api-sso - - - - - - - - - - - - -sso服务接口
guoranxinxian-shop-service-api-item - - - - - - - - - - - - -商品服务接口
guoranxinxian-shop-service-api-search - - - - - - - - - - -搜索服务接口
guoranxinxian-shop-service-api-pay- - - - - - - - - - - - - -聚合支付平台
guoranxinxian-shop-service-api-order- - - - - - - - - - - - -订单服务接口
guoranxinxian-shop-service-api-spike- - - - - - - - - - - - -秒杀服务接口

2.5 接口实现层(service- impl)

guoranxinxian-shop-service-weixin - - - - - - - - - - - - - - 微信服务接口实现
guoranxinxian-shop-service-member- - - - - - - - - - - - - 会员服务接口实现
guoranxinxian-shop-service-api-sso - - - - - - - - - - - - - sso服务接口实现
guoranxinxian-shop-service-tem - - - - - - - - - - - - - - - - 商品服务接口实现
guoranxinxian-shop-service-search - - - - - - - - - - - - - -搜索服务接口实现
guoranxinxian-shop-service-pay - - - - - - - - - - - - - - - -聚合支付平台接口实现
guoranxinxian-shop-service-order - - - - - - - - - - - - - - -订单服务接口实现
guoranxinxian-shop-service-spike - - - - - - - - - - - -秒杀服务接口

2.6 门户(portal)

guoranxinxian-shop-portal-web - - - - - - - - - - - - - - - -门户网站
guoranxinxian-shop-portal-sso - - - - - - - - - - - - - - - -单点登陆系统
guoranxinxian-shop-portal-search - - - - - - - - - - - - - -搜索系统
guoranxinxian-shop-portal-spike - - - - - - - - - - - - - - -秒杀系统
guoranxinxian-shop-portal-cms - - - - - - - - - - - - - - - -管理系统
guoranxinxian-shop-portal-pay-web- - - - - - - - - - - - - 支付系统

3. 项目真实结构图

未展开:
展开:

4.总结

在这里插入图片描述

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值