From 02e39b5714f43b8ca16e2acee1cea096a32bb816 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Thu, 21 Nov 2024 11:06:03 +0800 Subject: [PATCH] fix: typo --- src/core/entities/user.ts | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/core/entities/user.ts b/src/core/entities/user.ts index a5a31a30..f3f0a06d 100644 --- a/src/core/entities/user.ts +++ b/src/core/entities/user.ts @@ -25,12 +25,12 @@ export interface CoreInfo { export interface BaseInfo { qid: string; longNick: string; - birthdayYear: number; - birthdayMonth: number; - birthdayDay: number; + birthday_year: number; + birthday_month: number; + birthday_day: number; age: number; sex: number; - email: string; + eMail: string; phoneNum: string; categoryId: number; richTime: number; @@ -227,7 +227,7 @@ export interface ModifyProfileParams { nick: string; longNick: string; sex: Sex; - birthday: { birthdayYear: string, birthdayMonth: string, birthdayDay: string }; + birthday: { birthday_year: string, birthday_month: string, birthday_day: string }; location: any; } @@ -263,9 +263,9 @@ export interface User { age?: number; qqLevel?: QQLevel; qid?: string; - birthdayYear?: number; - birthdayMonth?: number; - birthdayDay?: number; + birthday_year?: number; + birthday_month?: number; + birthday_day?: number; topTime?: string; constellation?: number; shengXiao?: number; @@ -273,7 +273,7 @@ export interface User { homeTown?: string; makeFriendCareer?: number; pos?: string; - email?: string; + eMail?: string; phoneNum?: string; college?: string; country?: string;