23 lines
858 B
C#
Raw Normal View History

2022-12-16 15:52:35 +08:00
using JinianNet.JNTemplate;
using ZR.Common;
namespace ZR.Admin.WebApi.Extensions
{
public static class LogoExtension
{
public static void AddLogo(this IServiceCollection services)
{
Console.ForegroundColor = ConsoleColor.Blue;
var contentTpl = JnHelper.ReadTemplate("", "logo.txt");
2022-12-20 16:06:59 +08:00
var content = contentTpl?.Render();
2023-05-15 19:54:06 +08:00
2022-12-16 15:52:35 +08:00
Console.WriteLine(content);
2022-12-20 16:06:59 +08:00
Console.ForegroundColor = ConsoleColor.Blue;
2023-07-21 07:51:48 +08:00
Console.WriteLine("🎉源码地址: https://gitee.com/izory/ZrAdminNetCore");
Console.WriteLine("📖官方文档http://www.izhaorui.cn/doc");
Console.WriteLine("🤑打赏作者http://www.izhaorui.cn/doc/support.html");
Console.WriteLine("📱移动端体验http://www.izhaorui.cn/h5");
2022-12-16 15:52:35 +08:00
}
}
}