lib/lanmao/api/trade/download_checkfile.rb in lanmao-0.2.0 vs lib/lanmao/api/trade/download_checkfile.rb in lanmao-0.4.0

- old
+ new

@@ -10,21 +10,20 @@ # * :request_params [Hash] 请求参数 # * :response [Object] 请求返回对象 # * :code [String] 结果代码 # * :msg [String] 结果信息 # * :data: 具体业务返回信息 - # * :url [String] 支付 url - # * :order_no [String] 订单号 - # * :amount [Number] 金额 + # * :File [file] 对账文件 # - def download_checkfile() + def download_checkfile(file_date) + service = "DOWNLOAD_CHECKFILE" + params = { + fileDate: file_date } - res = operate_post() - - Lanmao.logger.info res + res = operate_post(:operate, service, params, :service) res end end # module