From e94030c99ecd1c5c808c9256e8e208bf9482ac81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?old=E6=98=93?= <156663459@qq.com> Date: Mon, 27 Nov 2023 18:03:25 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B7=B3=E8=BD=AC=E6=B2=A1=E6=9C=89=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E7=9A=84=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- New_College.Model/Models/D_PlanMajorDescPro.cs | 9 ++++++++- .../BASE/D_PlanMajorDescProRepository.cs | 4 ++-- 2 files changed, 10 insertions(+), 3 deletions(-) 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