Commit f0b2e33e authored by 黄奎's avatar 黄奎

页面修改

parent 773d748e
......@@ -19,6 +19,7 @@ namespace EduSpider.IRepository
/// <returns></returns>
public bool SetStuCommentRepository(RB_Stu_Comment model);
/// <summary>
/// 查询学员评语列表
/// </summary>
......
......@@ -87,6 +87,7 @@ namespace EduSpider.IServices
/// <returns></returns>
public bool SetStuComment(RB_Stu_Comment model);
/// <summary>
/// 获取学员评价列表
/// </summary>
......
......@@ -363,6 +363,7 @@ namespace EduSpider.Services
return StuCommentRepository.SetStuCommentRepository(model);
}
/// <summary>
/// 获取学员评价列表
/// </summary>
......
......@@ -278,6 +278,23 @@ namespace EduSpider.WebApi.Controllers
return flag ? ApiResult.Success() : ApiResult.Failed();
}
[HttpPost]
[HttpGet]
/// <summary>
/// 修改学员评价
/// </summary>
/// <returns></returns>
public ApiResult SetStuCommentInfo()
{
var model = new RB_Stu_Comment()
{
Id = base.ReqParameters.GetInt("Id"),
Info = base.ReqParameters.GetString("Info"),
};
var flag = CourseService.SetStuComment(model);
return flag ? ApiResult.Success() : ApiResult.Failed();
}
[HttpPost]
[HttpGet]
......
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