@RestControllerAdvice + 實現(xiàn)ResponseBodyAdvice 將Result 封裝到aop 中, Controller層 直接返回 參數,讓aop去判斷,返回的Result 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 @RestControllerAdvice @Slf4j public class GlobalResultAdvice im...
www.dbjr.com.cn/program/3212821...htm 2025-6-16