NewGaoKaoApi/New_College.Common/GlobalVar/GlobalVars.cs

38 lines
938 B
C#
Raw Permalink Blame History

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 New_College
{
/// <summary>
/// 权限变量配置
/// </summary>
public static class Permissions
{
public const string Name = "Permission";
/// <summary>
/// 当前项目是否启用IDS4权限方案
/// true表示启动IDS4
/// false表示使用JWT
public static bool IsUseIds4 = false;
/// <summary>
/// 当前项目是否启用Authing权限方案
/// true表示启动
/// false表示使用JWT
public static bool IsUseAuthing = false;
}
/// <summary>
/// 路由变量前缀配置
/// </summary>
public static class RoutePrefix
{
/// <summary>
/// 前缀名
/// 如果不需要,尽量留空,不要修改
/// 除非一定要在所有的 api 前统一加上特定前缀
/// </summary>
public static string Name = "";
}
}