概览
- 定义DTO,规范输入输出格式,参考
Response
- 定义错误码、异常,参考
CommonException
- 定义事件接口契约,参考
EventI
- 添加
Filter
和FilterChain
支持,方便自由定制 - 定义TraceId生成工具,参考
TraceUtils
- 添加
StateMachine
状态机,支持Fluent API
调用 - 定义枚举类标准,统一格式,参考
IStdEnum
使用指南
- Github源码:https://github.com/guanyang/spring-base-parent
- 最新Maven坐标
1
2
3
4
5<dependency>
<groupId>org.gy.framework</groupId>
<artifactId>spring-base-core</artifactId>
<version>1.0.1-SNAPSHOT</version>
</dependency>
工程结构解读
1 | ├── README.md |
...
...
00:00
00:00
If you like this blog or find it useful for you, you are welcome to comment on it. You are also welcome to share this blog, so that more people can participate in it. If the images used in the blog infringe your copyright, please contact the author to delete them. Thank you !