feat: 基础模块

注册登录
用户管理
角色管理
部门管理
消息管理
接口管理
菜单管理
字典管理
缓存管理
请求日志
系统设置
版本信息
代码生成
This commit is contained in:
tk
2023-11-17 18:54:31 +08:00
parent 18b4d7547a
commit d26e4c77cc
755 changed files with 30416 additions and 42743 deletions

View File

@ -0,0 +1,34 @@
namespace NetAdmin.Infrastructure;
/// <summary>
/// 全局静态类
/// </summary>
public static class GlobalStatic
{
/// <summary>
/// 产品版本
/// </summary>
public static readonly string ProductVersion
= FileVersionInfo.GetVersionInfo(Assembly.GetEntryAssembly()!.Location).ProductVersion;
/// <summary>
/// 调试模式
/// </summary>
public static bool DebugMode =>
#if DEBUG
true
#else
false
#endif
;
/// <summary>
/// 系统内部密钥
/// </summary>
public static string SecretKey => "{6C4922D3-499A-46db-BFC4-0B51A9C4395F}";
/// <summary>
/// Json序列化选项
/// </summary>
public static JsonSerializerOptions JsonSerializerOptions { get; set; }
}