From 75fa43dc1c3e7230c8a593446599b066306cb609 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A9=AC=E6=A2=93=E5=BD=AD?= Date: Mon, 13 Apr 2026 13:24:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A8=A1=E5=9E=8B=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Client/OAuthController.cs | 23 ----------------- YD_Event.Application/YD_Event.Application.xml | 25 ------------------- 2 files changed, 48 deletions(-) diff --git a/YD_Event.Application/Client/OAuthController.cs b/YD_Event.Application/Client/OAuthController.cs index ad1897d..e998eb1 100644 --- a/YD_Event.Application/Client/OAuthController.cs +++ b/YD_Event.Application/Client/OAuthController.cs @@ -153,7 +153,6 @@ public class OAuthController : IDynamicApiController Name = input.NickName ?? input.Mobile, NickName = input.NickName, Avatar = input.Avatar, - Gender = input.Gender ?? Gender.Unknown, Mobile = input.Mobile, Password = encryptedPassword, PersonType = PersonType.User, @@ -164,28 +163,6 @@ public class OAuthController : IDynamicApiController }; } - // 更新或设置个人信息 - if (!string.IsNullOrEmpty(input.Name)) - { - appUser.Name = input.Name; - } - if (input.Gender.HasValue) - { - appUser.Gender = input.Gender.Value; - } - if (!string.IsNullOrEmpty(input.IdCardNumber)) - { - appUser.IdCardNumber = input.IdCardNumber; - } - if (input.BirthDate.HasValue) - { - appUser.BirthDate = input.BirthDate.Value; - } - if (input.Age.HasValue) - { - appUser.Age = input.Age.Value; - } - if (isNewUser) { await _appUserRepository.InsertAsync(appUser); diff --git a/YD_Event.Application/YD_Event.Application.xml b/YD_Event.Application/YD_Event.Application.xml index 7403d1d..3cf04d8 100644 --- a/YD_Event.Application/YD_Event.Application.xml +++ b/YD_Event.Application/YD_Event.Application.xml @@ -2640,31 +2640,6 @@ 头像(可选) - - - 真实姓名(可选) - - - - - 性别(可选) - - - - - 身份证号码(可选) - - - - - 出生日期(可选) - - - - - 年龄(可选) - - 小程序注册输出参数