|
@@ -60,7 +60,7 @@ namespace TEAMModelOS.Controllers
|
|
|
[ProducesDefaultResponseType]
|
|
|
[HttpPost("create-vrar-lesson-shanda")]
|
|
|
[ApiToken(Auth = "2003", Name = "VR·AR开课/上传课例信息", TName = "VR·AR開課/上傳課例信息", EName = "Start VR·AR lesson/upload VR·AR lesson ", RWN = "W", Limit = false)]
|
|
|
- public async Task<IActionResult> UpLessonRec(JsonElement jsonElement)
|
|
|
+ public async Task<IActionResult> UpdateLesson(JsonElement jsonElement)
|
|
|
{
|
|
|
var (id, school) = HttpContext.GetApiTokenInfo();
|
|
|
|
|
@@ -291,9 +291,9 @@ namespace TEAMModelOS.Controllers
|
|
|
/// <param name="jsonElement"></param>
|
|
|
/// <returns></returns>
|
|
|
[ProducesDefaultResponseType]
|
|
|
- [HttpPost("get-lesson-records")]
|
|
|
+ [HttpPost("get-vrar-lessons")]
|
|
|
[ApiToken(Auth = "2004", Name = "获取学校课例", TName = "獲取學校課例", EName = "Get school lessons", RWN = "R", Limit = false)]
|
|
|
- public async Task<IActionResult> GetLessonRec(JsonElement jsonElement)
|
|
|
+ public async Task<IActionResult> GetLesson(JsonElement jsonElement)
|
|
|
{
|
|
|
var (id, school) = HttpContext.GetApiTokenInfo();
|
|
|
jsonElement.TryGetProperty("lessonId", out JsonElement lessId);
|
|
@@ -319,9 +319,9 @@ namespace TEAMModelOS.Controllers
|
|
|
/// <param name="jsonElement"></param>
|
|
|
/// <returns></returns>
|
|
|
[ProducesDefaultResponseType]
|
|
|
- [HttpPost("get-lesson-analysis")]
|
|
|
+ [HttpPost("get-vrar-lesson-analysis")]
|
|
|
[ApiToken(Auth = "2006", Name = "获取学校课例", TName = "獲取學校課例", EName = "Get school lessons", RWN = "R", Limit = false)]
|
|
|
- public async Task<IActionResult> GetLessonStats(JsonElement jsonElement)
|
|
|
+ public async Task<IActionResult> GetLessonAnslysis(JsonElement jsonElement)
|
|
|
{
|
|
|
var (id, school) = HttpContext.GetApiTokenInfo();
|
|
|
if (!jsonElement.TryGetProperty("lessonId", out JsonElement lessonId)) return Ok(new { responseDate = new ResponseData<dynamic>() { code = RespondCode.ParamsError, msg = "lessId参数错误", data = null } }); //上课人ID ;
|