Bläddra i källkod

修改appconfig默认配置

zhontai 2 år sedan
förälder
incheckning
c9bc7dfd87
2 ändrade filer med 1 tillägg och 2 borttagningar
  1. 1 1
      src/hosts/ZhonTai.Host/Configs/appconfig.json
  2. 0 1
      src/hosts/ZhonTai.Host/Program.cs

+ 1 - 1
src/hosts/ZhonTai.Host/Configs/appconfig.json

@@ -38,7 +38,7 @@
   //ZhonTai接口文档
   "apiUI": {
     //启用
-    "enable": false,
+    "enable": true,
     //路由前缀,如配置微服务文档地址:doc/module
     "routePrefix": "",
     //页脚

+ 0 - 1
src/hosts/ZhonTai.Host/Program.cs

@@ -1,7 +1,6 @@
 using FreeScheduler;
 using Microsoft.Extensions.DependencyInjection;
 using Microsoft.Extensions.Hosting;
-using System.IO;
 using ZhonTai;
 using ZhonTai.Admin.Core;
 using ZhonTai.Admin.Core.Configs;