fix 全局返回,只拦截cc.iotkit
parent
165449fcb8
commit
2256138d83
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue