fix 全局返回,只拦截cc.iotkit

V0.5.x
jay 2023-06-08 11:17:58 +08:00
parent 165449fcb8
commit 2256138d83
1 changed files with 1 additions and 1 deletions

View File

@ -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<Object> {
@Override
public boolean supports(MethodParameter returnType, Class<? extends HttpMessageConverter<?>> converterType) {