Procházet zdrojové kódy

Merge branch 'master' of http://git.fwt.com/CallCenter/callcenter

Dun.Jason před 2 roky
rodič
revize
50ce0dc552

+ 7 - 0
src/CallCenter.Api/Controllers/TestSdkController.cs

@@ -37,6 +37,13 @@ namespace CallCenter.Api.Controllers
             _options = options;
         }
 
+        [HttpGet("testconfig")]
+        public string Test([FromServices] IConfiguration configuration)
+        {
+            var a = configuration.GetSection("WorkTimeSettings:MorningBegin").Get<string>();
+            return a;
+        }
+
         #region  查询(Query)
 
         /// <summary>

+ 1 - 1
src/CallCenter.Api/StartupExtensions.cs

@@ -31,7 +31,7 @@ internal static class StartupExtensions
         services.AddHttpContextAccessor();
 
 #if DEBUG
-        builder.WebHost.UseUrls("http://192.168.100.36:50001", "http://localhost:50001");
+        builder.WebHost.UseUrls("http://192.168.100.62:50001", "http://localhost:50001");
 #endif
 
         services.Configure<DeviceConfigs>(d => configuration.GetSection("DeviceConfigs").Bind(d));