diff --git a/New_College.Model/Models/D_NewsInfo.cs b/New_College.Model/Models/D_NewsInfo.cs index 7ce4ff4..0b8dc9a 100644 --- a/New_College.Model/Models/D_NewsInfo.cs +++ b/New_College.Model/Models/D_NewsInfo.cs @@ -1,4 +1,5 @@ -using System; +using SqlSugar; +using System; using System.Collections.Generic; using System.Text; @@ -26,7 +27,7 @@ namespace New_College.Model.Models /// public string Summary { get; set; } - + [SugarColumn(ColumnDataType = "longtext", Length = int.MaxValue, IsNullable = true)] public string Detail { get; set; } /// diff --git a/New_College.Tasks/HostedService/JobTimedSpiderService.cs b/New_College.Tasks/HostedService/JobTimedSpiderService.cs index 6841cd5..7c8e97a 100644 --- a/New_College.Tasks/HostedService/JobTimedSpiderService.cs +++ b/New_College.Tasks/HostedService/JobTimedSpiderService.cs @@ -50,7 +50,8 @@ namespace New_College.Tasks ProvinceCode = "370000", CreateId = 1, CreateTime = c.pubtime, - Detail = c.detail, + + // Detail = c.detail, CoverImg = "https://static-data.ycymedu.com/static/newstop.png", OrderSort = 0, IsDelete = false,