This commit is contained in:
tanglong 2026-01-26 17:35:18 +08:00
parent cf887be6de
commit 986e118533

View File

@ -139,14 +139,8 @@ namespace VOL.Ai.Services
//if (res == null) //if (res == null)
// return new Ai_SchoolDto(); // return new Ai_SchoolDto();
//var schoolCode = paramDto.Code; //var schoolCode = paramDto.Code;
//// ========================= //// =========================
//// 2️⃣ 调用京师接口获取学校年级班级 //// 2️⃣ 调用京师接口获取学校年级班级
//// ========================= //// =========================
@ -291,11 +285,11 @@ namespace VOL.Ai.Services
City = "", City = "",
Grade = schoolClass.Grades.Select(g => new Grades Grade = schoolClass.Grades.Select(g => new Grades
{ {
Id = 0, // 京师接口没有数据库 Id,可用占位 Id = 1, // 京师接口没有数据库 Id,可用占位
Name = g.GradeName, Name = g.GradeName,
Class = g.Classes?.Select(c => new Classes Class = g.Classes?.Select(c => new Classes
{ {
Id = 0, // 同上 Id = 1, // 同上
Name = c.ClassName Name = c.ClassName
}).ToList() ?? new List<Classes>() }).ToList() ?? new List<Classes>()
}).ToList() }).ToList()
@ -304,8 +298,6 @@ namespace VOL.Ai.Services
return res; return res;
} }
public Ai_OSSInfoDto OSSInfo(Ai_Request paramDto) public Ai_OSSInfoDto OSSInfo(Ai_Request paramDto)
{ {
return new Ai_OSSInfoDto() return new Ai_OSSInfoDto()