type UserRegisterInfo {
   username: string;
   name: string;
   gender: string;
   mail: string;
   password: string;
   salt: string;
}

service AccountService {
   Register(regcode: string, info: UserRegisterInfo): void;
   GetProfile(): Profile;
   UpdateProfile(info: Profile): void;
   GetContactInfos(): ContactInfo;
}

