字段是大写,转json后变成小写解决方法

字段是大写,转json后变成小写
如果是fastjson: 在字段上加 @JSONField(name="")

示例:

 

posted @ 2022-06-09 10:55  海棠匠心  阅读(556)  评论(0编辑  收藏  举报