class ShixunListsController < ApplicationController def index @results = ShixunSearchService.call(search_params) end private def search_params params.permit(:keyword, :type, :page, :limit, :order, :status, :diff) end end