关于Restful结合mvc的小问题

restAPI 定义的PUT请求,在mvc中只支持
Content-Type:application/x-www-form-urlencoded 识别_method : put
如果涉及到批量修改需要传json数据,一般要怎么解决 ?

        比如下面这种 

         * 修改个人信息api
 *
 * @param userInfos 
 * @return 成功与失败信息
 */
@PutMapping(value = "info")
@ResponseBody
public ServerResponse updatePersonalInfo(@RequestBody List<ReceiveUserInfoVO> userInfo) throws IOException {
    return personalInfoService.updatePersonalInfo(userInfo);

}

controller class 上添加类似代码

 @RequestMapping(value = "/user", method = RequestMethod.PUT, consumes = "application/x-www-form-urlencoded")

over!

图片说明