diff --git a/New_College.Model/Models/D_PlanMajorDescPro.cs b/New_College.Model/Models/D_PlanMajorDescPro.cs index cfb40a4..877a455 100644 --- a/New_College.Model/Models/D_PlanMajorDescPro.cs +++ b/New_College.Model/Models/D_PlanMajorDescPro.cs @@ -15,7 +15,6 @@ namespace New_College.Model.Models /// public int UId { get; set; } - /// /// /// @@ -42,7 +41,15 @@ namespace New_College.Model.Models /// public string CityName { get; set; } + /// + /// + /// + public string Logo { get; set; } + /// + /// + /// + public string Web { get; set; } /// /// 排名 diff --git a/New_College.Repository/BASE/D_PlanMajorDescProRepository.cs b/New_College.Repository/BASE/D_PlanMajorDescProRepository.cs index 2582db8..e5275ec 100644 --- a/New_College.Repository/BASE/D_PlanMajorDescProRepository.cs +++ b/New_College.Repository/BASE/D_PlanMajorDescProRepository.cs @@ -63,8 +63,8 @@ namespace New_College.Repository _985 = c._985, _211 = c._211, _SYL = c._SYL, - Logo = "https://img1.youzy.cn/content/media/thumbs/p00189371.jpeg", - Web = "https://www.pku.edu.cn/", + Logo = c.Logo, + Web = c.Web, UniversityType = c.SchoolType, SubjectLevel = c.EducationCategory, Rank = string.IsNullOrEmpty(c.Rank) ? "9999" : c.Rank