mirror of
https://github.com/nsnail/NetAdmin.git
synced 2025-09-17 19:15:33 +08:00
refactor: ♻️ 框架&业务代码分离 (#185)
Co-authored-by: tk <fiyne1a@dingtalk.com>
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
namespace NetAdmin.Infrastructure.Configuration.Dependency;
|
||||
|
||||
/// <summary>
|
||||
/// API客户端基础选项
|
||||
/// </summary>
|
||||
public abstract record ApiClientOptions : OptionAbstraction
|
||||
{
|
||||
/// <summary>
|
||||
/// 网关地址
|
||||
/// </summary>
|
||||
public string Gateway { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 密钥
|
||||
/// </summary>
|
||||
public string Token { get; set; }
|
||||
}
|
@@ -1,4 +1,4 @@
|
||||
namespace NetAdmin.Infrastructure.Configuration.Options;
|
||||
namespace NetAdmin.Infrastructure.Configuration.Dependency;
|
||||
|
||||
/// <summary>
|
||||
/// 选项抽象基类
|
@@ -1,3 +1,5 @@
|
||||
using NetAdmin.Infrastructure.Configuration.Dependency;
|
||||
|
||||
namespace NetAdmin.Infrastructure.Configuration.Options;
|
||||
|
||||
/// <summary>
|
||||
|
@@ -1,3 +1,4 @@
|
||||
using NetAdmin.Infrastructure.Configuration.Dependency;
|
||||
using DataType = FreeSql.DataType;
|
||||
|
||||
namespace NetAdmin.Infrastructure.Configuration.Options;
|
||||
|
@@ -1,3 +1,5 @@
|
||||
using NetAdmin.Infrastructure.Configuration.Dependency;
|
||||
|
||||
namespace NetAdmin.Infrastructure.Configuration.Options;
|
||||
|
||||
/// <summary>
|
||||
|
@@ -1,3 +1,5 @@
|
||||
using NetAdmin.Infrastructure.Configuration.Dependency;
|
||||
|
||||
namespace NetAdmin.Infrastructure.Configuration.Options;
|
||||
|
||||
/// <summary>
|
||||
|
Reference in New Issue
Block a user