/// <summary> /// 根据用户的userId 获取用户的 特定咨询数 提问数 回答数 收藏 关注数 粉丝数 获赞数 /// </summary> /// <param name="userId"></param> /// <returns></returns> public CountUser_model GetCountUser(int userId) { User_dal user_dal = new User_dal(); CountUser_model countUser_model = new CountUser_model(); try { countUser_model = user_dal.GetCountUser(userId); } catch (Exception e) { throw new Exception(e.ToString()); } return(countUser_model); }