Browse Source

转发内网请求v8,队列测试环境

xiewj 2 years ago
parent
commit
7f6ebe52f5

+ 1 - 1
sxz-core/src/main/java/com/fdkk/sxz/other/shiro/WebMvcConfigurer.java

@@ -73,7 +73,7 @@ public class WebMvcConfigurer extends WebMvcConfigurationSupport {
         fastConverter.setSupportedMediaTypes(supportedMediaTypes);
         // 添加fastjson的配置信息 比如 :是否要格式化返回的json数据
         FastJsonConfig fastJsonConfig = new FastJsonConfig();
-        fastJsonConfig.setSerializerFeatures(SerializerFeature.PrettyFormat/*,SerializerFeature.WriteMapNullValue*/);
+        fastJsonConfig.setSerializerFeatures(SerializerFeature.PrettyFormat,SerializerFeature.WriteMapNullValue);
         fastJsonConfig.setDateFormat("yyyy-MM-dd HH:mm:ss");
         SerializeConfig serializeConfig = SerializeConfig.globalInstance;
         serializeConfig.put(BigInteger.class, ToStringSerializer.instance);