Explorar o código

响应参数code丢失问题解决

hubin hai 1 ano
pai
achega
c5f82470a2

+ 1 - 1
src/main/java/com/aizuda/boot/config/BootResponseBodyAdvice.java

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