最新回答 / sixGod
沒有代碼,不知道你哪里少寫了,我這里按老師寫的就記了二點,能實現1、類上使用@ControllerAdvice注解2、方法上使用@ExceptionHandler注解
2023-01-27