@Path("update")
@Produces(MediaType.APPLICATION_JSON)
public BaseDTO updateUser(@FormParam("data") String data) {
try {
Map<String, Object> map = jsonMapper.fromJson(data, Map.class);
UserBase userBase = jsonMapper.fromJson(data, UserBase.class);
userService.updateUser(userBase, defaultUserRepoId, map);
BaseDTO baseDto = new BaseDTO();
baseDto.setCode(200);