浏览代码

记录日志。

CrazyIter_Bin 3 年之前
父节点
当前提交
a8339b9931
共有 1 个文件被更改,包括 1 次插入4 次删除
  1. 1 4
      TEAMModelOS/Controllers/Client/HiScanController.cs

+ 1 - 4
TEAMModelOS/Controllers/Client/HiScanController.cs

@@ -370,10 +370,7 @@ namespace TEAMModelOS.Controllers.Core
         {
             try
             {
-              
                 HashSet<string> classesSet = new HashSet<string>();
-
-               
                 ExamData examData = null;
                 if (!request.TryGetProperty("id", out JsonElement id)) return BadRequest();
                 if (!request.TryGetProperty("schoolId", out JsonElement _schoolId)) return BadRequest();
@@ -477,7 +474,7 @@ namespace TEAMModelOS.Controllers.Core
             }
             catch (Exception ex)
             {
-                await _dingDing.SendBotMsg($"IES5,{_option.Location},get-exam-by-sheet\n{ex.Message}{ex.StackTrace}", GroupNames.醍摩豆服務運維群組);
+                await _dingDing.SendBotMsg($"IES5,{_option.Location},get-exam-by-sheet\n{ex.Message}{ex.StackTrace}{request.ToJsonString()}", GroupNames.醍摩豆服務運維群組);
                 return BadRequest();
             }
         }