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 @@ 头像(可选) - - - 真实姓名(可选) - - - - - 性别(可选) - - - - - 身份证号码(可选) - - - - - 出生日期(可选) - - - - - 年龄(可选) - - 小程序注册输出参数