Module: Lanmao::Form::Money::WithdrawForm
- Defined in:
- lib/lanmao/form/money/withdraw_form.rb
Instance Method Summary collapse
Instance Method Details
#withdraw_form(flow_id, platform_user_no, expired, redirect_url, amount, withdraw_type = 'NORMAL', withdraw_form = 'IMMEDIATE', commission = nil) ⇒ Hash
提现
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
# File 'lib/lanmao/form/money/withdraw_form.rb', line 20 def withdraw_form(flow_id, platform_user_no, expired, redirect_url, amount, withdraw_type='NORMAL', withdraw_form='IMMEDIATE', commission=nil) service = "WITHDRAW" params = { requestNo: flow_id, platformUserNo: platform_user_no, expired: expired, redirectUrl: redirect_url, amount: amount, withdrawType: withdraw_type, withdrawForm: withdraw_form, commission: commission } res = get_form_data(service, params) res end |