增加分页接口

develop
old易 2024-12-16 14:32:28 +08:00
parent c84f1adbce
commit 99116a3ca8
2 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@ namespace New_College.Model.ViewModels
public int? Syl { get; set; } public int? Syl { get; set; }
} }
public class UniversityRankQuery public class UniversityRankQuery: BasePageRequest
{ {
/// <summary> /// <summary>
/// 院校类型 0校友会 1,武书连 2,软科 3,QS 4,U.S.News /// 院校类型 0校友会 1,武书连 2,软科 3,QS 4,U.S.News

View File

@ -41,7 +41,7 @@ namespace New_College.Repository
SubjectLevel = u.Subject_Level, SubjectLevel = u.Subject_Level,
Score = string.IsNullOrWhiteSpace(rank.Score) || rank.Score == "0" ? "--" : rank.Score, Score = string.IsNullOrWhiteSpace(rank.Score) || rank.Score == "0" ? "--" : rank.Score,
Uid = u.Id Uid = u.Id
}).ToListAsync(); }).ToPageListAsync(query.PageIndex, query.PageSize);
return response; return response;
} }
} }