Module: Reapal::Form::WithdrawApplyForm
- Defined in:
- lib/reapal/form/withdraw_apply_form.rb
Instance Method Summary collapse
Instance Method Details
#withdraw_apply_form(contract, flow_id, money, charge, return_url, notify_url, remark = '', busway = '01') ⇒ Hash
2.4 提现申请
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
# File 'lib/reapal/form/withdraw_apply_form.rb', line 27 def withdraw_apply_form(contract, flow_id, money, charge, return_url, notify_url, remark='', busway='01') service = 'reapal.trust.withdrawApply' post_path = '/service/withdraw.htm' params = { orderNo: flow_id, contracts: contract, amount: money, charge: charge, busway: busway, remark: remark, returnUrl: return_url, notifyUrl: notify_url, applyTime: Time.now.strftime('%Y-%m-%d %H:%M:%S'), } get_form_data(service, params, post_path) end |