public function censorUserProfileBase($id)
 {
     $check = Input::get('check', 0);
     $remark = Input::get('remark', '');
     try {
         if ($check == 0) {
             if (!$remark) {
                 throw new Exception("备注不能为空", 10001);
             }
         }
         $tmp_base = TmpUserProfileBase::find($id);
         if (empty($tmp_base)) {
             throw new Exception("查找的用户信息不存在", 10001);
         }
         if ($tmp_base->u_status == 1) {
             throw new Exception("审核已经通过了", 10002);
         }
         $base = UserProfileBase::find($id);
         if (empty($base)) {
             $base = new UserProfileBase();
         }
         $user = User::find($id);
         if ($check == 1) {
             $base->u_id = $tmp_base->u_id;
             $base->u_id_number = $tmp_base->u_id_number;
             $base->u_id_imgs = $tmp_base->u_id_imgs;
             $base->u_is_id_verified = $tmp_base->u_is_id_verified = 1;
             $base->s_id = $tmp_base->s_id;
             $base->u_entry_year = $tmp_base->u_entry_year;
             $base->u_major = $tmp_base->u_major;
             $base->u_student_number = $tmp_base->u_student_number;
             $base->u_student_imgs = $tmp_base->u_student_imgs;
             $base->u_is_student_verified = $tmp_base->u_is_student_verified = 1;
             $base->em_contact_phone = $tmp_base->em_contact_phone;
             $base->em_contact_name = $tmp_base->em_contact_name;
             $base->u_father_name = $tmp_base->u_father_name;
             $base->u_father_phone = $tmp_base->u_father_phone;
             $base->u_mother_name = $tmp_base->u_mother_name;
             $base->u_mother_phone = $tmp_base->u_mother_phone;
             $base->u_home_address = $tmp_base->u_home_address;
             $base->u_apartment_no = $tmp_base->u_apartment_no;
             $base->u_status = 1;
             $base->save();
             $tmp_base->u_status = 1;
             $tmp_base->remark = '';
             $user->u_is_verified = 1;
         } else {
             $tmp_base->u_status = 2;
             $tmp_base->remark = $remark;
             $user->u_is_verified = 0;
         }
         $user->save();
         $tmp_base->censor();
         $re = Tools::reTrue('审核用户联系人信息成功');
     } catch (Exception $e) {
         $re = Tools::reFalse($e->getCode(), '审核用户联系人信息失败:' . $e->getMessage());
     }
     return Response::json($re);
 }