解决
This commit is contained in:
parent
cf887be6de
commit
986e118533
@ -139,14 +139,8 @@ namespace VOL.Ai.Services
|
||||
//if (res == null)
|
||||
// return new Ai_SchoolDto();
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//var schoolCode = paramDto.Code;
|
||||
|
||||
|
||||
//// =========================
|
||||
//// 2️⃣ 调用京师接口获取学校年级班级
|
||||
//// =========================
|
||||
@ -291,11 +285,11 @@ namespace VOL.Ai.Services
|
||||
City = "",
|
||||
Grade = schoolClass.Grades.Select(g => new Grades
|
||||
{
|
||||
Id = 0, // 京师接口没有数据库 Id,可用占位
|
||||
Id = 1, // 京师接口没有数据库 Id,可用占位
|
||||
Name = g.GradeName,
|
||||
Class = g.Classes?.Select(c => new Classes
|
||||
{
|
||||
Id = 0, // 同上
|
||||
Id = 1, // 同上
|
||||
Name = c.ClassName
|
||||
}).ToList() ?? new List<Classes>()
|
||||
}).ToList()
|
||||
@ -304,8 +298,6 @@ namespace VOL.Ai.Services
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Ai_OSSInfoDto OSSInfo(Ai_Request paramDto)
|
||||
{
|
||||
return new Ai_OSSInfoDto()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user