Commit cac2db6d authored by 黄奎's avatar 黄奎

页面修改

parent 5d5f7b52
...@@ -72,7 +72,7 @@ namespace EduSpider.Services ...@@ -72,7 +72,7 @@ namespace EduSpider.Services
item.ResultType, item.ResultType,
item.ResultTypeStr, item.ResultTypeStr,
item.Title, item.Title,
CreateTime = VTX.FW.Helper.ConvertHelper.FormatTime(item.CreateTime), CreateTime = VTX.FW.Helper.ConvertHelper.FormatTime(item.CreateTime,2),
item.Score, item.Score,
item.Score_p, item.Score_p,
item.ScoreType, item.ScoreType,
......
...@@ -38,11 +38,19 @@ namespace EduSpider.WebApi.Controllers ...@@ -38,11 +38,19 @@ namespace EduSpider.WebApi.Controllers
if (list != null && list.Count > 0) if (list != null && list.Count > 0)
{ {
foreach (var item in list) 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> /// <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