1.建立一个迭代器
2.while循环将值取出
3.使用get获取值
/**
* 删除
* @param reqmap
* @return
*/
@RequestMapping(value = "/delete",method = RequestMethod.POST)
public Map delete(@RequestBody Map reqmap){
System.out.println("收到数据"+reqmap);
Map map = new HashMap();
Iterator iterator = reqmap.keySet().iterator();
while(iterator.hasNext()){
Object key = iterator.next();
System.out.println(reqmap.get(key));
}
map.put("msg", "删除成功");
return map;
}