@RequestParam Map paramMap

@RequestParam
请求方式

url = “/edit?device=${device}&type=${type}”

Controller
@RequestMapping(value = "https://www.it610.com/sex")
@ResponseBody
public Object getSexAndAgeCharts ( @RequestParam Map paramMap ) {
Map charts = this.iFaceService.getSexAndAgeCharts(paramMap);
return charts;
}
Mapper.xml
【@RequestParam Map paramMap】
and deviceID=#{device}

转载于:https://www.cnblogs.com/lancelee98/p/9879212.html

    推荐阅读