本系列主要是整合自己在工作中使用的一些项目经验和框架组件。
基于springcloud的Erp项目
网关:spring cloud gateway
http组件:okhttp
缓存组件:redis
注册中心:nacos
配置中心:nacos
分布式事务:seate
监控组件:springbootadmin
限流:Sentinel
暂定结构如下:
项目路径 | 端口 | 说明 |
---|---|---|
/ms-erp/erp-common/common-abstract | - | 公共库,工具类,通用vo等。。 |
/ms-erp/erp-web | 8001 | 网页暂时写在这里 |
/ms-erp/erp-common/erp-gateway | 7001 | 网关层 ,权限资源拦截,跨域 |
/ms-erp/erp-common/erp-monitor | 6001 | springbootadmin监控 |
/ms-erp/erp-business/erp-system | 9001 | 系统管理平台管理模块 |
/ms-erp/erp-business/erp-product | 9101 | 商品模块,商品管理 |
/ms-erp/erp-business/erp-store | 9201 | 仓储服务 |
/ms-erp/erp-business/erp-order | 9301 | 订单服务,入库出库 |
git:链接