CrazyIter_Bin 2 lat temu
rodzic
commit
7a46d27c42

+ 1 - 1
TEAMModelOS.SDK/Models/Dtos/AdminChange.cs

@@ -21,7 +21,7 @@ namespace TEAMModelOS.Models
         /// </summary>
         /// </summary>
         public string adminType { get; set; }
         public string adminType { get; set; }
         /// <summary>
         /// <summary>
-        /// 语系"zh-cn" ,zh-tw", "en-us
+        /// 语系"zh-cn" ,zh-tw", "en-us"
         /// </summary>
         /// </summary>
         public string lang { get; set; }
         public string lang { get; set; }
     }
     }

+ 0 - 2
TEAMModelOS/Controllers/System/BlobController.cs

@@ -235,8 +235,6 @@ namespace TEAMModelOS.Controllers
             try
             try
             {
             {
                 //学校已经分配给所有教师的空间大小GB。
                 //学校已经分配给所有教师的空间大小GB。
-
-
                 request.TryGetProperty("scope", out JsonElement _scope);
                 request.TryGetProperty("scope", out JsonElement _scope);
                 if (!request.TryGetProperty("containerName", out JsonElement containerName)) return BadRequest();
                 if (!request.TryGetProperty("containerName", out JsonElement containerName)) return BadRequest();
                 if (_scope.ValueKind.Equals(JsonValueKind.String) && _scope.GetString().Equals("school"))
                 if (_scope.ValueKind.Equals(JsonValueKind.String) && _scope.GetString().Equals("school"))

+ 1 - 0
TEAMModelOS/Startup.cs

@@ -168,6 +168,7 @@ namespace TEAMModelOS
             //  services.AddScoped<SecurityHeadersAttribute>();
             //  services.AddScoped<SecurityHeadersAttribute>();
             services.AddSingleton(typeof(IConverter), new SynchronizedConverter(new PdfTools()));
             services.AddSingleton(typeof(IConverter), new SynchronizedConverter(new PdfTools()));
             services.AddXkwAPIHttpService(Configuration);
             services.AddXkwAPIHttpService(Configuration);
+            //services.AddHostedService<>
         }
         }
 
 
         // This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
         // This method gets called by the runtime. Use this method to configure the HTTP request pipeline.