可以直接使用的springboot架构

tianyunperfect f71cf56b6e update il y a 4 ans
.github a1b2678b25 update il y a 5 ans
springboot-common b380eefff9 添加advice,优化controller il y a 4 ans
springboot-dao b380eefff9 添加advice,优化controller il y a 4 ans
springboot-main b380eefff9 添加advice,优化controller il y a 4 ans
.gitignore f71cf56b6e update il y a 4 ans
CHANGELOG.md 541e5263a7 update il y a 4 ans
Dockerfile fdb1cecf73 添加docker脚本 il y a 4 ans
LICENSE 8ecdae9096 添加readme和license il y a 5 ans
README.md 4f394eb5a9 add release il y a 4 ans
pom.xml 6cd96c14af 规范模块命名 il y a 4 ans
reBuildDocker.sh fdb1cecf73 添加docker脚本 il y a 4 ans
rename.sh d2a428b60c 优化result il y a 4 ans

README.md

springboot-parent

springboot-web常用功能整合,包含常用功能。

  • springboot-web示例
  • log4j2 日志异步打印
  • 自动捕获web异常
  • controller Long 类型数据自动转换
  • docker启动脚本、sh启动脚本
  • 添加mybatis-generate

工具类

  • json工具类
  • 分布式Id生成器(雪花算法,利用hostName和Ip自动分配,系统多于32个的时候,请使用redis或者mysql来分配。)
  • 日期工具类
  • 爬虫工具类

怎么使用

1、复制项目

git clone https://github.com/tianyunperfect/springboot-parent.git

2、修成自己的项目名称

1. idea右键修改包名和文件夹名称
2. 修改父pom文件module的引用
3. 修改当前pom文件中jar名称

3、发布

docker发布

sh bin/docker-build

shell启动

sh bin/boot start

LICENSE

MIT LICENSE

参考

springboot初始化

spring boot的log4j2异步日志配置