Commit 5bca9891 authored by 黄奎's avatar 黄奎

页面修改

parent 0866f7f0
......@@ -107,7 +107,13 @@ namespace Edu.WebApi.Controllers.Course
ClassName = "请选择"
});
}
return ApiResult.Success(data: list);
return ApiResult.Success(data: list.Select(qitem => new
{
qitem.ClassId,
qitem.ClassName,
qitem.ClassHours,
OpenTime = Common.ConvertHelper.FormatDate(qitem.OpenTime)
})); ;
}
/// <summary>
......
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