diff --git a/Txgy.RBS.DTO/ResultJsonDTO.cs b/Txgy.RBS.DTO/ResultJsonDTO.cs index 75b051f..aab1f9e 100644 --- a/Txgy.RBS.DTO/ResultJsonDTO.cs +++ b/Txgy.RBS.DTO/ResultJsonDTO.cs @@ -1,4 +1,6 @@ -namespace Txgy.RBS.DTO +using SqlSugar; + +namespace Txgy.RBS.DTO { /// /// @@ -6,26 +8,10 @@ public partial class ResultJsonDTO { public int Id { get; set; } - public string? Name { get; set; } - - public string? Mobile { get; set; } - - public string? Address { get; set; } - - public string? Email { get; set; } - - public long? QQ { get; set; } - - public string? WeChat { get; set; } - public int? Sex { get; set; } + public int ResultId { get; set; } - /// - /// Desc: - /// Default: - /// Nullable:True - /// - public string? UserImageUrl { get; set; } + public string Json { get; set; } } } diff --git a/Txgy.RBS.Server.WebApi/Register/HostBuilderExtend.cs b/Txgy.RBS.Server.WebApi/Register/HostBuilderExtend.cs index f1a9cb0..d36d3de 100644 --- a/Txgy.RBS.Server.WebApi/Register/HostBuilderExtend.cs +++ b/Txgy.RBS.Server.WebApi/Register/HostBuilderExtend.cs @@ -3,6 +3,7 @@ using Autofac.Extensions.DependencyInjection; using Microsoft.AspNetCore.Mvc; using SqlSugar; using System.Reflection; +using Txgy.RBS.Framework.RedisHelper.Service; namespace Txgy.RBS.Server.WebApi.Register { @@ -57,13 +58,13 @@ namespace Txgy.RBS.Server.WebApi.Register #endregion #region 注册Redis - //{ - // ConfigurationBinder.RegisterType(); - // ConfigurationBinder.RegisterType(); - // ConfigurationBinder.RegisterType(); - // ConfigurationBinder.RegisterType(); - // ConfigurationBinder.RegisterType(); - //} + { + ConfigurationBinder.RegisterType(); + ConfigurationBinder.RegisterType(); + ConfigurationBinder.RegisterType(); + ConfigurationBinder.RegisterType(); + ConfigurationBinder.RegisterType(); + } #endregion });