|
@@ -16,7 +16,6 @@ import com.alibaba.fastjson.serializer.SerializerFeature;
|
|
|
import com.alibaba.fastjson.serializer.ToStringSerializer;
|
|
|
import com.alibaba.fastjson.support.config.FastJsonConfig;
|
|
|
import com.alibaba.fastjson.support.spring.FastJsonHttpMessageConverter;
|
|
|
-import com.xiesx.fastboot.core.fastjson.serializer.CustomerBigDecimalCodec;
|
|
|
|
|
|
@Configuration
|
|
|
@EnableConfigurationProperties(FastJsonProperties.class)
|
|
@@ -75,7 +74,6 @@ public class FastJsonCfg implements WebMvcConfigurer {
|
|
|
serializeConfig.put(Long.class, ToStringSerializer.instance);
|
|
|
serializeConfig.put(Long.TYPE, ToStringSerializer.instance);
|
|
|
serializeConfig.put(BigInteger.class, ToStringSerializer.instance);
|
|
|
- serializeConfig.put(BigDecimal.class, CustomerBigDecimalCodec.instance);
|
|
|
fastJsonConfig.setSerializeConfig(serializeConfig);
|
|
|
return fastJsonConfig;
|
|
|
}
|