|
@@ -5,10 +5,7 @@ import org.springframework.stereotype.Component;
|
|
import org.springframework.web.bind.annotation.RestControllerAdvice;
|
|
import org.springframework.web.bind.annotation.RestControllerAdvice;
|
|
|
|
|
|
@Component
|
|
@Component
|
|
-@RestControllerAdvice({
|
|
|
|
- "com.aizuda.service",
|
|
|
|
- "com.aizuda.boot.controller"
|
|
|
|
-})
|
|
|
|
|
|
+@RestControllerAdvice
|
|
public class BootResponseBodyAdvice extends ApiResponseBodyAdvice {
|
|
public class BootResponseBodyAdvice extends ApiResponseBodyAdvice {
|
|
|
|
|
|
}
|
|
}
|