Module: Reapal::Form::DepositAppyForm
- Defined in:
- lib/reapal/form/deposit_apply_form.rb
Instance Method Summary collapse
Instance Method Details
#deposit_apply_form(flow_id, contracts, money, charge, return_url, notify_url, remark = '', payment_type = '1', channel = 'bank', pay_customer_no = '') ⇒ Hash
2.1网银充值 (Form)
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
# File 'lib/reapal/form/deposit_apply_form.rb', line 29 def deposit_apply_form(flow_id, contracts, money, charge, return_url, notify_url, remark='', payment_type='1', channel='bank', pay_customer_no='') service = 'reapal.trust.depositApply' post_path = '/reagw/service/deposit.htm' params = { orderNo: flow_id, contracts: contracts, amount: money, charge: charge, returnUrl: return_url, notifyUrl: notify_url, remark: remark, paymentType: payment_type, channel: channel, payCustomerNo: pay_customer_no, busway: '00', applyTime: Time.now.strftime('%Y-%m-%d %H:%M:%S') } get_form_data(service, params, post_path) end |