Пример #1
0
        /// <summary>
        /// 获取用户列表(所有角色为客服且无分组的)
        /// </summary>
        /// <returns></returns>
        public LoginUserModel GetLoginUserByUserID(int userID)
        {
            LoginUserModel loginUserModel = null;

            AdminUserInfo userInfo = adminUserDAL.GetByUserID(userID);

            if (userInfo != null)
            {
                loginUserModel = GetUserPermission(userInfo);
            }
            return(loginUserModel);
        }