Эх сурвалжийг харах

fix 修改店铺返回id为string,解决精度丢失问题

chenchen 5 сар өмнө
parent
commit
393b96bff0

+ 1 - 1
common/common-core/src/main/java/com/tourism/common/core/config/CommonWebMvcConfig.java

@@ -57,7 +57,7 @@ public class CommonWebMvcConfig implements WebMvcConfigurer {
         fastJsonConfig.setSerializerFeatures(
                 SerializerFeature.PrettyFormat,
                 SerializerFeature.DisableCircularReferenceDetect,
-//                SerializerFeature.IgnoreNonFieldGetter,
+                SerializerFeature.IgnoreNonFieldGetter,
                 SerializerFeature.WriteMapNullValue,
                 SerializerFeature.WriteNullListAsEmpty,
                 SerializerFeature.WriteNullStringAsEmpty