diff --git a/GDZZ.Application/GDZZ.Application.xml b/GDZZ.Application/GDZZ.Application.xml index b95f080..32d440f 100644 --- a/GDZZ.Application/GDZZ.Application.xml +++ b/GDZZ.Application/GDZZ.Application.xml @@ -574,6 +574,21 @@ + + + + + + + + 用户ID + + + + + 余额 + + 微信支付 diff --git a/GDZZ.Application/Service/Auth/AuthService.cs b/GDZZ.Application/Service/Auth/AuthService.cs index 4c42cbe..34fc7ef 100644 --- a/GDZZ.Application/Service/Auth/AuthService.cs +++ b/GDZZ.Application/Service/Auth/AuthService.cs @@ -182,6 +182,7 @@ namespace GDZZ.Application.Service.Auth authUserOut.UserName = sysUser.Name; authUserOut.Self = Self.IsEmpty() ? "未填写" : Self.Name; authUserOut.Type = UserEnum.JOB; + authUserOut.OpenID = tokenModel.OpenId; await this.cacheService.SetUserInfoAsync(authUserOut, authUserOut.UserId); return authUserOut; diff --git a/GDZZ.Application/Service/Auth/DTO/AuthUserOut.cs b/GDZZ.Application/Service/Auth/DTO/AuthUserOut.cs index c1c16a7..f60b06b 100644 --- a/GDZZ.Application/Service/Auth/DTO/AuthUserOut.cs +++ b/GDZZ.Application/Service/Auth/DTO/AuthUserOut.cs @@ -51,5 +51,11 @@ namespace GDZZ.Application /// public UserEnum Type { get; set; } + + /// + /// + /// + public string OpenID { get; set; } + } }