Commit 639e4a05 authored by 吴春's avatar 吴春

提交代码

parent 9f95d508
......@@ -230,7 +230,7 @@ namespace Edu.WebApi.Controllers.User
})?.FirstOrDefault();
if (model == null)
{
return ApiResult.Failed(message: $"未找到【{ account }】用户!");
return ApiResult.Failed(message: $"本教室没有找到您的课");
}
else
{
......@@ -252,7 +252,7 @@ namespace Edu.WebApi.Controllers.User
if (tempList == null || !tempList.Any())
{
return ApiResult.Failed("暂无您的课");
return ApiResult.Failed("本教室没有找到您的课");
}
var classModel = tempList.OrderBy(x => x.NewPlanDateTime).FirstOrDefault();
var extModel = new Module.Course.ClassRoomModule().GetClassRoomModule(classModel.ClassRoomId);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment