/// <summary> /// 用户进入验证 /// </summary> /// <param name="userName"></param> /// <param name="password"></param> /// <param name="user"></param> /// <returns></returns> public static bool CheckLogin(string userName, string password, ref User user) { return(userService.GetUserByLogin(userName, password, ref user)); }