/// <summary>
        /// 获取好友列表
        /// </summary>
        /// <returns></returns>
        public JsonResult Friend_GetFriendsList()
        {
            var obj = oFriendsBLL.Friend_GetFriendsList(GetUserInfo().Id);
            List <SessionUserInfo> models = Common.CacheHelper <List <SessionUserInfo> > .GetCache("OnLineUsers");

            ReturnModel <List <ChatUserInfo> > remodel = JsonConvert.DeserializeObject <ReturnModel <List <ChatUserInfo> > >(obj.ToString());

            foreach (ChatUserInfo model in remodel.Data)
            {
                model.IsOnline = 0;
                if (models != null && models.Count(x => x.Id == model.FriendId) > 0)
                {
                    model.IsOnline = 1;
                }
            }
            return(Json(remodel));
        }