//根据name获取用户数据
 public UserInfo GetUserInfo(string name)
 {
     return(userInfoDAL.GetUserInfo(name));
 }