public ActionResult BindSchool(string phone) { StudentApplyBll studentApplyBll = new StudentApplyBll(); var result = studentApplyBll.StudentApply(GetCurrentUser().StudentId, phone); if (result) { SchoolTeacherBll schoolTeacherBll = new SchoolTeacherBll(); var school = schoolTeacherBll.GetSchoolTeacherByPhone(phone); return(Json(new JsonResponse <DtoSchoolTeacher>() { State = true, ErrorMsg = "申请成功", Data = school })); } return(Json(new JsonSimpleResponse() { State = false, ErrorMsg = "申请失败" })); }