,Object> map = new HashMap();
map.put("code", "200");
map.put("msg", "保存成功");...,Object> map = new HashMap();
map.put("code", "200");
map.put("msg", "获取成功");...map.put("data", department);
return map;
}
@RequestMapping("update")
public Map map = new HashMap();
map.put("code", "200");
map.put("msg", "修改成功");...();
map.put("code", "200");
map.put("msg", "删除成功");
return map;
}
}
启动类: