public static function filterByWid($params)
 {
     $wid = $params->get('wid');
     try {
         $data = Logs::filterByWid($wid);
     } catch (Exception $e) {
         throw new RpcException($e->getMessage(), -31001);
     }
     return $data;
 }
 private function byWid($filter, $extra, $extensive)
 {
     try {
         $data = SourceLogs::filterByWid(intval($filter), intval($extra));
     } catch (DatabaseException $de) {
         throw $de;
     } catch (Exception $e) {
         throw $e;
     }
     return $this->doShow($data, $extensive);
 }