Required String parameter id is not present
@ResponseBody
@RequestMapping("user/update")
public int userUpdate(@RequestBody HashMap<String, String> map ){
String username = map.get("username");
String password = map.get("password");
String id = map.get("id");
String telephone = map.get("telephone");
String identity = map.get("identity");
System.out.println(id);
int num = 0;
if(identity.equals("管理员")) num = 1;
return userRepository.userUpdate(username,password,num,telephone,Integer.parseInt(id));
}