定义的VO在后台用日志打印出来,字段信息正常,但是前端响应的却没有
原因是VO对象没有设置get跟set方法,而fastjson如果找不到对应的方法则会导致这个结果.
2026-04-24 13:59:36
在springmvc中使用fastjson,在前台发现了"$ref": "$.apis.我的[1].methods[2].bodyobject.jsondocTemplate"这一种引用.
©2026 老鼠扛刀满街找猫.
ICP证:浙ICP备17026237号-1
浙公网安备 33010402004062号
Powered by Jekyll,
theme by Scott Emmons
under Creative Commons Attribution