Commit cac2db6d authored by 黄奎's avatar 黄奎

页面修改

parent 5d5f7b52
......@@ -72,7 +72,7 @@ namespace EduSpider.Services
item.ResultType,
item.ResultTypeStr,
item.Title,
CreateTime = VTX.FW.Helper.ConvertHelper.FormatTime(item.CreateTime),
CreateTime = VTX.FW.Helper.ConvertHelper.FormatTime(item.CreateTime,2),
item.Score,
item.Score_p,
item.ScoreType,
......
......@@ -39,10 +39,18 @@ namespace EduSpider.WebApi.Controllers
{
foreach (var item in list)
{
result.Add(new
{
item.courseId,
item.courseName,
item.CoverImg,
item.completeNum,
item.totalClassNum,
item.teacherName,
});
}
}
return ApiResult.Success(data: list);
return ApiResult.Success(data: result);
}
/// <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