提交rbac
提交设置右键错位的bug
This commit is contained in:
35
DH.RBAC/Common/GlobalConfig.cs
Normal file
35
DH.RBAC/Common/GlobalConfig.cs
Normal file
@ -0,0 +1,35 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using DH.RBAC.Model.Sys;
|
||||
|
||||
namespace DH.RBAC.Common
|
||||
{
|
||||
/// <summary>
|
||||
/// 全局数据存放
|
||||
/// </summary>
|
||||
public class GlobalConfig
|
||||
{
|
||||
public static MyConfig Config { get; set; }
|
||||
/// <summary>
|
||||
/// 当前登录的用户
|
||||
/// </summary>
|
||||
public static SysUser CurrentUser;
|
||||
|
||||
/// <summary>
|
||||
/// 当前用户头像
|
||||
/// </summary>
|
||||
public static Image Avatar;
|
||||
|
||||
/// <summary>
|
||||
/// 当前选的哪个菜单
|
||||
/// </summary>
|
||||
public static string CurrentMenuText;
|
||||
|
||||
/// <summary>
|
||||
/// 当前用户权限
|
||||
/// </summary>
|
||||
public static List<SysPermission> PermissionList;
|
||||
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user