Jelajahi Sumber

修改赋值

黄贺彬 5 tahun lalu
induk
melakukan
ddd0cf2f61

+ 1 - 1
TEAMModelOS.Service/Evaluation/Implements/ImportExerciseService.cs

@@ -179,7 +179,7 @@ namespace TEAMModelOS.Service.Evaluation.Implements
         public async Task<List<ExerciseDto>> AnalyzeWordAsync(DocInfoDto dict, string Lang)
         {
             List<ContentVerify> contents = await this.FindListByKey<ContentVerify>("DigestCode", dict.ShaCode);
-            string html;
+            string html="";
             if (contents.IsNotEmpty())
             {
                 html = contents[0].Content;

+ 0 - 3
TEAMModelOS/Controllers/Core/LoginController.cs

@@ -64,9 +64,6 @@ namespace TEAMModelOS.Controllers.Core
             {
                 responseBuilder.Error(false, ResponseCode.FAILED, "ticket error!");
             }
- 
-            responseBuilder.Error(false, ResponseCode.FAILED, "ticket error!");
- 
             return responseBuilder.build();
         }
         /// <summary>

+ 1 - 1
TEAMModelOS/Views/Shared/_Layout.cshtml

@@ -5,7 +5,7 @@
     <meta charset="utf-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
     <title>@ViewData["Title"]TEAM Model OS</title>
-    @*<link rel="stylesheet" href="~/dist/style.css" asp-append-version="true" />*@
+    <link rel="stylesheet" href="~/dist/style.css" asp-append-version="true" />
     <link rel="icon" type="image/x-icon" class="js-site-favicon" href="https://account.habookaclass.biz/dist/6854ccd21afb6b1f994e1556c2360dd8.ico">
     @*<link rel="stylesheet" href="~/dist/vendor.css" asp-append-version="true" />
         <environment names="Staging,Production">