spring注解@ResponseBody返回JSON能不能设置他不返回为null的值java@RequestMapping(value="/{username}",method=RequestMethod.GET,params="json")@ResponseBodypublicUsershow(@PathVariableStringusername){returnusers.get(username);}
添加回答
举报
0/150
提交
取消