Commit f0b2e33e authored by 黄奎's avatar 黄奎

页面修改

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