Restful PUT方法的ModelAttribute未填充值(JSON)

Restful PUT方法的ModelAttribute未填充值(JSON),第1张

Restful PUT方法的ModelAttribute未填充值(JSON)

取代

@ModelAttribute("positionGPS") PositionGPS positionGPS, @PathVariable Long id, Model model

对于

@RequestBody PositionGPS positionGPS, @PathVariable Long id, Model model)

链接帮助:http :
//docs.spring.io/spring/docs/current/spring-framework-
reference/html/mvc.html#mvc-config-
enable

SpringMVC:请勿反序列化JSON请求正文



欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/zaji/5498686.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-12-13
下一篇2022-12-13

发表评论

登录后才能评论

评论列表(0条)

    保存