From 203edd6bbdf883e897a0075037a4ef68cd519ac9 Mon Sep 17 00:00:00 2001 From: yzh <snbbt@21cn.com> Date: 星期四, 23 六月 2022 00:07:56 +0800 Subject: [PATCH] 系统账户管理列表用户角色显示优化 --- web/Model/Model/SysUser.cs | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/web/Model/Model/SysUser.cs b/web/Model/Model/SysUser.cs index 9058685..f2e474f 100644 --- a/web/Model/Model/SysUser.cs +++ b/web/Model/Model/SysUser.cs @@ -41,10 +41,12 @@ public string ClientIp { get; set; } public int Status { get; set; } - - //public int UserType { get; set; } //鐢ㄦ埛绫诲瀷:1-绠$悊鍛�;2-涓氬姟鍛�--鍏ㄥ憳;3-涓氬姟涓荤;4-涓氬姟鎬荤洃;5-瀹㈡湇浜哄憳;6-璐㈠姟浜哄憳;99-鍏朵粬 + + //public int UserType { get; set; } //鐢ㄦ埛绫诲瀷锛屽涓椂浠モ��,鈥濆垎闅旓細1-绠$悊鍛�;2-涓氬姟鍛�--鍏ㄥ憳;3-瀹㈡埛缁忕悊;4-瀹㈡湇浜哄憳;5-璐㈠姟浜哄憳 public string UserType { get; set; } //鍏宠仈瀛楀吀鏁版嵁琛ㄧ殑绫诲瀷涓猴細USER_ROLE銆傚涓鑹叉椂浠ュ崐瑙掆��,鈥濆垎闅斻�� + public string RoleNames { get; set; } //瑙掕壊鍚嶇О锛氬涓鑹叉椂浠ュ崐瑙掆��,鈥濆垎闅斻�� + public Dictionary<string, SysUserMenu> MenuIDList { get; set; } public bool HasRight(string code) -- Gitblit v1.9.1