Files
shgx_tz_mes_backend_sync/ZR.Admin.WebApi/Extensions/LogoExtension.cs
不做码农 568e774d80 优化代码
2022-12-24 18:50:27 +08:00

24 lines
814 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using JinianNet.JNTemplate;
using Microsoft.Extensions.DependencyInjection;
using System;
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");
var content = contentTpl?.Render();
Console.WriteLine(content);
Console.ForegroundColor = ConsoleColor.Blue;
Console.WriteLine("源码地址: https://gitee.com/izory/ZrAdminNetCore");
Console.WriteLine("官方文档http://www.izhaorui.cn/doc");
Console.WriteLine("打赏作者http://www.izhaorui.cn/doc/support.html");
}
}
}