摘要: 阅读全文
posted @ 2022-09-26 16:39 AboutChristopher 阅读(9) 评论(0) 推荐(0) 编辑
摘要: ###1.引入AOP依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-aop</artifactId> </dependency> ###2.创建日志记录表 DROP 阅读全文
posted @ 2022-09-26 14:26 AboutChristopher 阅读(669) 评论(0) 推荐(0) 编辑
摘要: ###1.自定义一个异常类: public class RuleException extends RuntimeException { private static final long serialVersionUID = -8624533394127244753L; public RuleEx 阅读全文
posted @ 2022-09-26 14:03 AboutChristopher 阅读(556) 评论(0) 推荐(0) 编辑