program服务注释取消

master
xjl 5 months ago
parent d822718121
commit de7a3c61c3

@ -98,8 +98,8 @@ foreach (var s in list.Split(";"))
AppInfo.Container = app.Services.GetAutofacRoot(); AppInfo.Container = app.Services.GetAutofacRoot();
//var listen = builder.Configuration.GetSection("Listen"); var listen = builder.Configuration.GetSection("Listen");
//CarServerMgr.InitServer(int.Parse(listen.GetSection("Port").Value ?? "5588")); CarServerMgr.InitServer(int.Parse(listen.GetSection("Port").Value ?? "5588"));
var tBoxListen = builder.Configuration.GetSection("TBoxListen"); var tBoxListen = builder.Configuration.GetSection("TBoxListen");
TBoxServerMgr.InitTBoxServer(int.Parse(tBoxListen.GetSection("Port").Value ?? "9999")); TBoxServerMgr.InitTBoxServer(int.Parse(tBoxListen.GetSection("Port").Value ?? "9999"));

Loading…
Cancel
Save