lib/lanmao/api/trade/confirm_checkfile.rb in lanmao-0.2.0 vs lib/lanmao/api/trade/confirm_checkfile.rb in lanmao-0.4.0
- old
+ new
@@ -10,22 +10,27 @@
# * :request_params [Hash] 请求参数
# * :response [Object] 请求返回对象
# * :code [String] 结果代码
# * :msg [String] 结果信息
# * :data: 具体业务返回信息
- # * :url [String] 支付 url
- # * :order_no [String] 订单号
- # * :amount [Number] 金额
+ # * :code [Enum] 返回吗
+ # * :status [Enum] 业务处理状态(处理失败INIT;处理成功SUCCESS)
+ # * :errorCode [String] 错误码
+ # * :errorMessage [String] 错误描述
#
- def confirm_checkfile()
+ def confirm_checkfile(flow_id, file_date, detail, file_type)
+ service = "CONFIRM_CHECKFILE"
+
params = {
+ requestNo: flow_id,
+ fileDate: file_date,
+ detail: detail,
+ fileType: file_type
}
- res = operate_post()
-
- Lanmao.logger.info res
-
+ res = operate_post(:operate, service, params, :service)
+
res
end
end # module
end