From 705372c2d17fbbbfdb608e0a5fc9b5da71b85730 Mon Sep 17 00:00:00 2001 From: mzhifa Date: Wed, 3 Apr 2024 14:39:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0Map=E8=BD=AC=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Txgy.RBS.DTO/ResultJsonDTO.cs | 24 ++++--------------- .../Register/HostBuilderExtend.cs | 15 ++++++------ 2 files changed, 13 insertions(+), 26 deletions(-) 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 });