spring mvc contrller map paramers
程序员文章站
2022-05-31 10:29:55
...
@RequestMapping(value = "test", method = RequestMethod.POST)
public String register(@RequestParam Map<String, String> params){
return "test";
}
注意:@RequestParam 不能写成(@RequestParam("params"))
上一篇: vue-cli全局安装