You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
1.1 KiB
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

namespace Admin.Core.Common
{
/// <summary>
/// 权限变量配置
/// </summary>
public static class Permissions
{
public const string Name = "Permission";
/// <summary>
/// 测试网关授权
/// 可以使用Admin.Core项目中的test用户
/// 账号test
/// 密码test
/// </summary>
public const string GWName = "GW";
/// <summary>
/// 当前项目是否启用IDS4权限方案
/// true表示启动IDS4
/// false表示使用JWT
public static bool IsUseIds4 = false;
}
/// <summary>
/// 路由变量前缀配置
/// </summary>
public static class RoutePrefix
{
/// <summary>
/// 前缀名
/// 如果不需要,尽量留空,不要修改
/// 除非一定要在所有的 api 前统一加上特定前缀
/// </summary>
public const string Name = "";
}
/// <summary>
/// RedisMqKey
/// </summary>
public static class RedisMqKey
{
public const string Loging = "Loging";
}
}