From e0d89637030791ce1e7dd46ca5fdec9979977960 Mon Sep 17 00:00:00 2001 From: 杨前锦 <1010338399@qq.com> Date: 星期三, 11 六月 2025 17:28:41 +0800 Subject: [PATCH] 印尼佳通-硫化流程出入库流程开发 --- HH.WCS.Mobox3/HH.WCS.Mobox3.YNJT_PT/Program.cs | 11 +++++------ 1 files changed, 5 insertions(+), 6 deletions(-) diff --git a/HH.WCS.Mobox3/HH.WCS.Mobox3.YNJT_PT/Program.cs b/HH.WCS.Mobox3/HH.WCS.Mobox3.YNJT_PT/Program.cs index 86b5c90..595c4df 100644 --- a/HH.WCS.Mobox3/HH.WCS.Mobox3.YNJT_PT/Program.cs +++ b/HH.WCS.Mobox3/HH.WCS.Mobox3.YNJT_PT/Program.cs @@ -22,9 +22,6 @@ internal class Program { static void Main(string[] args) { - - - Settings.Init(); //1.0 寮�惎api Startup(); //2.0 寮�惎tcp @@ -49,10 +46,12 @@ private static void Startup() { Console.WriteLine("Startup ApiController"); - Task.Run(() => { - var url = $"http://+:{Settings.port}"; + Task.Run(() => + { + var url = $"http://127.0.0.1:8901"; Console.WriteLine(url); - using (WebApp.Start<Startup>(url)) { + using (WebApp.Start<Startup>(url)) + { Console.WriteLine("Running on {0}", url); Console.ReadLine(); } -- Gitblit v1.9.1