Parcourir la source

记录日志。

CrazyIter_Bin il y a 3 ans
Parent
commit
a8339b9931
1 fichiers modifiés avec 1 ajouts et 4 suppressions
  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();
             }
         }