feat: 添加性别枚举,更新用户设置页面以支持性别选择和生日选择功能

This commit is contained in:
2025-12-15 02:01:27 +07:00
parent 6998a66db5
commit 47f8418ddf
5 changed files with 64 additions and 41 deletions

View File

@@ -18,4 +18,4 @@ export type WithdrawBody = Omit<Parameters<typeof client.api.withdraw.post>[0],
export type UserProfileData = Treaty.Data<typeof client.api.user.profile.get>["userProfile"];
export type UpdateUserProfileBody = Parameters<typeof client.api.user.profile.put>[0];
export type UpdateUserProfileBody = NonNullable<Parameters<typeof client.api.user.profile.put>[0]>;