Sha256: 4ba42a89a13767e034c2e88f6c12d976e086ed85b92fc4e8b1aee93ccd8cfb4e

Contents?: true

Size: 425 Bytes

Versions: 9

Compression:

Stored size: 425 Bytes

Contents

class EricWeixin::Cms::Weixin::CustomsServiceRecordsController < EricWeixin::Cms::BaseController

  def index
    options = params.permit(:public_account_id, :opercode, :chat_date, :chat_content, :worker, :nick_name)
    @customs_service_records = ::EricWeixin::CustomsServiceRecord.common_query options
    @customs_service_records = @customs_service_records.order(:time).paginate(page: params[:page], per_page:20)
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
eric_weixin-0.4.2 app/controllers/eric_weixin/cms/weixin/customs_service_records_controller.rb
eric_weixin-0.4.1 app/controllers/eric_weixin/cms/weixin/customs_service_records_controller.rb
eric_weixin-0.4.0 app/controllers/eric_weixin/cms/weixin/customs_service_records_controller.rb
eric_weixin-0.3.3 app/controllers/eric_weixin/cms/weixin/customs_service_records_controller.rb
eric_weixin-0.3.2 app/controllers/eric_weixin/cms/weixin/customs_service_records_controller.rb
eric_weixin-0.3.1 app/controllers/eric_weixin/cms/weixin/customs_service_records_controller.rb
eric_weixin-0.3.0 app/controllers/eric_weixin/cms/weixin/customs_service_records_controller.rb
eric_weixin-0.2.3 app/controllers/eric_weixin/cms/weixin/customs_service_records_controller.rb
eric_weixin-0.2.1 app/controllers/eric_weixin/cms/weixin/customs_service_records_controller.rb