protected function getBaseInfo($account_id = '')
 {
     $base_info = $this->StudentModel->getBaseInfo($account_id);
     //简历基本信息
     if ($base_info) {
         $base_info['gender_text'] = getGerderText($base_info['gender']);
         $base_info['current_grade_text'] = getGradeText($base_info['graduate_year'] ? $base_info['graduate_year'] : '');
         $base_info['education_text'] = getDegreeTextSTU($base_info['education']);
         $base_info['politics_status_text'] = getPoliticsText($base_info['politics_status']);
         $nothing = '';
         $base_info['major_type_text'] = getMajorTypeText($base_info['major_type'], $nothing);
         $base_info['detail_major'] = trim($base_info['detail_major']);
         $base_info['living_city'] = regionIdToname($base_info['living_city']);
         $base_info['gender'] = empty($base_info['gender']) ? 1 : $base_info['gender'];
         $this->assign('baseInfo', $base_info);
         $this->assign('headpic', $this->StudentModel->studentAvatar());
     }
 }
 public function getBaseInfo($account_id = '')
 {
     $base_info = $this->StudentModel->getBaseInfo($account_id);
     //简历基本信息
     if ($base_info) {
         $base_info['gender_text'] = getGerderText($base_info['gender']);
         $base_info['current_grade_text'] = getGradeText($base_info['graduate_year'] ? $base_info['graduate_year'] : '');
         $base_info['education_text'] = getDegreeTextSTU($base_info['education']);
         $base_info['politics_status_text'] = getPoliticsText($base_info['politics_status']);
         $nothing = '';
         $base_info['major_type_text'] = getMajorTypeText($base_info['major_type'], $nothing);
         $base_info['detail_major'] = trim($base_info['detail_major']);
         return $base_info;
     }
 }