springboot-common/README.md

231 B

使用方式

在主入口函数增加如下注解:

@Import(value = { cn.zhangdeman.HashMapCache.class}) // 让SpringBoot能够扫描到相关组件

会自动扫描自定义的异常注解, 并进行数据初始化