首检添加数据看板
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
using JinianNet.JNTemplate;
|
||||
using System.Net.NetworkInformation;
|
||||
using ZR.Common;
|
||||
|
||||
namespace ZR.Admin.WebApi.Extensions
|
||||
{
|
||||
@@ -11,7 +10,7 @@ namespace ZR.Admin.WebApi.Extensions
|
||||
Console.ForegroundColor = ConsoleColor.Blue;
|
||||
var contentTpl = JnHelper.ReadTemplate("", "logo.txt");
|
||||
var content = contentTpl?.Render();
|
||||
|
||||
|
||||
Console.WriteLine(content);
|
||||
Console.ForegroundColor = ConsoleColor.Blue;
|
||||
|
||||
@@ -32,7 +31,7 @@ namespace ZR.Admin.WebApi.Extensions
|
||||
// 输出IPv4地址
|
||||
if (ipAddress.Address.AddressFamily == System.Net.Sockets.AddressFamily.InterNetwork)
|
||||
{
|
||||
Console.WriteLine("本机ip: "+ipAddress.Address.ToString());
|
||||
Console.WriteLine("本机ip: " + ipAddress.Address.ToString());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user