diff --git a/iot-common/iot-common-web/src/main/java/cc/iotkit/common/web/handler/ResponseResultHandler.java b/iot-common/iot-common-web/src/main/java/cc/iotkit/common/web/handler/ResponseResultHandler.java index 09e3e8f8..6b40a0d4 100644 --- a/iot-common/iot-common-web/src/main/java/cc/iotkit/common/web/handler/ResponseResultHandler.java +++ b/iot-common/iot-common-web/src/main/java/cc/iotkit/common/web/handler/ResponseResultHandler.java @@ -21,7 +21,7 @@ import org.springframework.web.servlet.mvc.method.annotation.ResponseBodyAdvice; import java.util.Map; -@ControllerAdvice +@ControllerAdvice(basePackages = {"cc.iotkit"}) public class ResponseResultHandler implements ResponseBodyAdvice { @Override public boolean supports(MethodParameter returnType, Class> converterType) {