Skip to content

Simple-Stark/Spring-Boot-Init

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring-Boot-Init

作者

简介

自定义 Spring Boot 脚手架,基于Spring Boot 2.3.12.RELEASE 版本创建,适配Spring Cloud Hoxton.SR12版本,搭载了自定义Simple-Common包。 对这个项目的希望是能够作为之后Java 方向的微服务搭建脚手架,作为新模块开发初始化项目使用。尤其是Spring Cloud。 同时也是自定义Simple-Common包的最佳实践。

已有功能

  • 多环境多配置文件
  • 基于Spring-Common 的全局统一消息返回
  • 基于Spring-Common 的全局异常拦截
  • 基于Spring-Common 的全局日志配置
  • 基于Spring-Common 的mybatisPlus 代码自动生成器
  • 基于Spring-Common 的字典转换工具

使用

在自定义Spring-Common包未推送到中央仓库之前,想要运行此项目,需要手动将Spring-Common 包安装到本地Maven仓库,详细说明参见

Spring-Common 包地址:https://github.com/Simple-Stark/common

Spring-Common最佳实践

更新日志

v 1.0.0

- 2021-09-26
  - 全局统一消息返回
  - 全局异常拦截及自定义异常
  - 全局日志配置
  - MybatisPlus 代码生成器(3.5.1)集成
- 2021-09-29
  - UserCodeMsg 继承CodeMsg 支持项目自定义消息返回
- 2021-10-05
  - 增加字典转换工具的使用

License

About

自定义 Spring Boot 脚手架

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages