找了大半天,发现配置文件里面配置了Jackson的:
jackson:
#null自动转空值
null-to-empty: true
#大数字自动转字符串
big-num-to-string: true
#支持text文本请求,与报文加密同时开启
support-text-plain: false
null自动转空值,会把String类型null值转为空字符串,会将Long类型null值转换为-1返回给前端
找了大半天,发现配置文件里面配置了Jackson的:
jackson:
#null自动转空值
null-to-empty: true
#大数字自动转字符串
big-num-to-string: true
#支持text文本请求,与报文加密同时开启
support-text-plain: false
null自动转空值,会把String类型null值转为空字符串,会将Long类型null值转换为-1返回给前端