[Spring MVC]@RequestMapping 与 @RequestMapping+@RequestResponse的区别 假定:返回格式均为JSON,JSON实体对象myJson的属性有:data、message、code、status。 二者的区别在于: @RequestMapping:会在最外层包裹 data属性,将myJson字符串包裹在data内 @RequestMapping+@RequestResponse:直接将myJson字符串返回给调用方