Module: Reapal::Form::BindBankCardForm
- Defined in:
- lib/reapal/form/bind_bank_card_form.rb
Instance Method Summary collapse
Instance Method Details
#bind_bank_card_form(flow_id, contract, return_url, notify_url, busway = '01') ⇒ Hash
1.7 银行卡绑定
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
# File 'lib/reapal/form/bind_bank_card_form.rb', line 24 def bind_bank_card_form(flow_id, contract, return_url, notify_url, busway='01') service = 'reapal.trust.bankCardAddV3' post_path = '/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 |