/// <summary> /// 根据id获取学生信息 /// </summary> /// <param name="id"></param> /// <returns></returns> public ApiResponse <Student> FindStudentById(long id) { ApiResponse <Student> apiResponse = ApiResponse <Student> .GetInstance(); try { Student student = _studentDao.FindStudentById(id); apiResponse.Success(student); } catch (System.Exception) { throw; } return(apiResponse); }