public function search_violation()
 {
     $user = Sentry::getUser();
     // 普通用户每天只能查询两次
     if ($user->is_common_user()) {
         $account_to_render = ['remain_search' => SearchController::get_search_count_remain($user->user_id, 'violation')];
     } else {
         if ($user->is_business_user()) {
             $account = BusinessController::accountInfo($user->user_id);
             $account_to_render = ['unit' => $account['violationUnit'], 'balance' => $account['balance']];
         } else {
             return View::make('Unkown error');
         }
     }
     return View::make('pages.serve-center.business.vio', ['account' => $account_to_render]);
 }