diff --git a/VOL.Ai/Services/AiAppService.cs b/VOL.Ai/Services/AiAppService.cs index eec7259..b9ec719 100644 --- a/VOL.Ai/Services/AiAppService.cs +++ b/VOL.Ai/Services/AiAppService.cs @@ -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() }).ToList() @@ -304,8 +298,6 @@ namespace VOL.Ai.Services return res; } - - public Ai_OSSInfoDto OSSInfo(Ai_Request paramDto) { return new Ai_OSSInfoDto()