mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-13 07:33:42 +08:00
fix 修复 访问接口文档报错问题
This commit is contained in:
parent
ef9ae0f2e8
commit
a5e8951bcd
@ -1,6 +1,7 @@
|
||||
package org.dromara.common.json.enhance;
|
||||
|
||||
import org.springframework.core.annotation.AnnotationAwareOrderComparator;
|
||||
import org.springframework.http.converter.ByteArrayHttpMessageConverter;
|
||||
import org.springframework.http.converter.ResourceHttpMessageConverter;
|
||||
import org.springframework.http.converter.StringHttpMessageConverter;
|
||||
import tools.jackson.databind.JavaType;
|
||||
@ -46,6 +47,7 @@ public class JsonValueEnhancer {
|
||||
|
||||
public boolean supports(Class<?> converterType) {
|
||||
return !processors.isEmpty()
|
||||
&& !ByteArrayHttpMessageConverter.class.isAssignableFrom(converterType)
|
||||
&& !StringHttpMessageConverter.class.isAssignableFrom(converterType)
|
||||
&& !ResourceHttpMessageConverter.class.isAssignableFrom(converterType);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user