Sha256: 77ea84bbe533589e5ead5208e3505fa1421c6d249be15f7cc20d5b638ded875e

Contents?: true

Size: 412 Bytes

Versions: 3

Compression:

Stored size: 412 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.paginate(page: params[:page], per_page:20)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
eric_weixin-0.2.0 app/controllers/eric_weixin/cms/weixin/customs_service_records_controller.rb
eric_weixin-0.1.1 app/controllers/eric_weixin/cms/weixin/customs_service_records_controller.rb
eric_weixin-0.1.0 app/controllers/eric_weixin/cms/weixin/customs_service_records_controller.rb