@RequestMapping(value="/test",method={RequestMethod.POST,RequestMethod.GET})
@ResponseBody
public String test(@RequestParam Map<String,String> map){
}
[email protected],参数才能自动进入到map中
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/tech/pnotes/15803.html