|
@@ -20,6 +20,10 @@ import java.util.List;
|
|
|
@EnableConfigurationProperties(FastJsonProperties.class)
|
|
|
public class FastJsonCfg implements WebMvcConfigurer {
|
|
|
|
|
|
+ public FastJsonCfg(){
|
|
|
+ System.out.println("FastJsonCfg init");
|
|
|
+ }
|
|
|
+
|
|
|
public static SerializerFeature[] serializerFeatures = new SerializerFeature[] {
|
|
|
// 字符类型字段如果为null,输出为"",而不是null
|
|
|
SerializerFeature.WriteNullStringAsEmpty,
|