|
@@ -169,13 +169,13 @@ namespace TEAMModelOS.Controllers.Syllabus
|
|
|
{
|
|
|
JsonRPCResponseBuilder builder = JsonRPCResponseBuilder.custom();
|
|
|
List<SyllabusVolume> volumes ;
|
|
|
- if (request.@params.TryGetValue("schoolCode", out _))
|
|
|
+ if (request.@params.TryGetValue("scopeCode", out _))
|
|
|
{
|
|
|
volumes = await azureCosmosDBRepository.FindByDict<SyllabusVolume>(request.@params);
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- throw new BizException("schoolCode is null!");
|
|
|
+ throw new BizException("scopeCode is null!");
|
|
|
}
|
|
|
return builder.Data(volumes).build();
|
|
|
}
|