修改用户信息选项

interface EditProfilePayload {
    bio?: string;
    birthday?: string;
    city?: string;
    country?: string;
    gender?: "MALE" | "FEMALE";
    industries?: number[];
    province?: string;
    relationshipState?: string;
    school?: School;
    screenName?: string;
    [key: string]: any;
}

Hierarchy

  • Partial<Pick<Entity.Profile,
        | "bio"
        | "gender"
        | "school"
        | "industries"
        | "country"
        | "province"
        | "city"
        | "birthday"
        | "screenName">>
    • EditProfilePayload

Indexable

  • [key: string]: any

Properties

bio?: string

签名

birthday?: string

生日,仅自己可见,如 2000-01-01

city?: string

城市 ID,如 001044001

country?: string

国家 ID,如 001

gender?: "MALE" | "FEMALE"

性别

industries?: number[]

行业

province?: string

身份 ID,如 001044

relationshipState?: string

情感状态

school?: School
screenName?: string

昵称