feat:基于furion搭建

This commit is contained in:
橙子
2023-04-12 22:30:42 +08:00
parent ccd39474c7
commit 5efdffcda8
631 changed files with 468 additions and 27264 deletions

View File

@@ -0,0 +1,8 @@
namespace Yi.Furion.Rbac.Application;
public class Mapper : IRegister
{
public void Register(TypeAdapterConfig config)
{
}
}

View File

@@ -0,0 +1,6 @@
namespace Yi.Furion.Rbac.Application;
public interface ISystemService
{
string GetDescription();
}

View File

@@ -0,0 +1,9 @@
namespace Yi.Furion.Rbac.Application;
public class SystemService : ISystemService, ITransient
{
public string GetDescription()
{
return "让 .NET 开发更简单,更通用,更流行。";
}
}

View File

@@ -0,0 +1,22 @@
namespace Yi.Furion.Rbac.Application;
/// <summary>
/// 系统服务接口
/// </summary>
public class SystemAppService : IDynamicApiController
{
private readonly ISystemService _systemService;
public SystemAppService(ISystemService systemService)
{
_systemService = systemService;
}
/// <summary>
/// 获取系统描述
/// </summary>
/// <returns></returns>
public string GetDescription()
{
return _systemService.GetDescription();
}
}