diff --git a/New_College.Api/Controllers/OAuthController.cs b/New_College.Api/Controllers/OAuthController.cs index eb33487..2dae22c 100644 --- a/New_College.Api/Controllers/OAuthController.cs +++ b/New_College.Api/Controllers/OAuthController.cs @@ -81,14 +81,15 @@ namespace New_College.Controllers ModifyTime = DateTime.UtcNow, TenantId = userinfo.result.TenantId, AvatarUrl = userinfo.result.Avatar, - CustomerType = CustomerTypeEnum.General + CustomerType = CustomerTypeEnum.General, + Datainit = false }; user.Id = await _CustomerInfoServices.Add(user); } else { user.UUID = userinfo.result?.UnionId; - // user.GZOpenId = userinfo.result?.OpenId; + // user.GZOpenId = userinfo.result?.OpenId; user.ModifyTime = DateTime.UtcNow; if (!string.IsNullOrEmpty(userinfo.result.Mobile) && string.IsNullOrEmpty(user.Phone)) {