ControllerAdvice用法

ControllerAdvice可以注解标明作用范围,并且结合@ExceptionHandler、@InitBinder 或 @ModelAttribute使用,

参考:

https://blog.csdn.net/qq_43575801/article/details/128891997

posted @ 2024-04-07 21:12  曾鸿发  阅读(9)  评论(0编辑  收藏  举报