Sha256: f7d7352bb5f0edccf1c1a2a7ffc082b3230fd1121d59cd1ac2107f8df0774756
Contents?: true
Size: 1.12 KB
Versions: 3
Compression:
Stored size: 1.12 KB
Contents
# coding: utf-8 module Reapal module Form module BindBankCardForm # 1.7 银行卡绑定 # # @param flow_id [String] 签约订单号 # @param contract [String] 用户协议号 # @param return_url [String] 回调 url # @param notify_url [String] 通知 url # @param busway [String] 设备通道,默认手机端。00:PC端;01:手机端;02:Pad端;03:其它 # # @return [ Hash ] 结果集 # * :form_method # * :method # * :url # * :form_data # * :merchant_id # * :encryptkey # * :data # def bind_bank_card_form(flow_id, contract, return_url, notify_url, busway='01') service = 'reapal.trust.bankCardAddV3' post_path = '/reagw/bankcard/toBankCardBinding.htm' params = { orderNo: flow_id, contracts: contract, busway: busway, returnUrl: return_url, notifyUrl: notify_url, applyTime: Time.now.strftime('%Y-%m-%d %H:%M:%S'), } get_form_data(service, params, post_path) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
reapal-0.11.0 | lib/reapal/form/bind_bank_card_form.rb |
reapal-0.10.1 | lib/reapal/form/bind_bank_card_form.rb |
reapal-0.10.0 | lib/reapal/form/bind_bank_card_form.rb |