Module: Lanmao::Form::Trade::UserAuthorizationForm

Defined in:
lib/lanmao/form/trade/user_authorization_form.rb

Instance Method Summary collapse

Instance Method Details

#user_authorization_form(user_no, request_no, auth_list, redirect_url, fail_time = '', amount = '') ⇒ Hash

Returns 结果集

  • :form_method

    • :method

    • :url

  • :form_data

    • :data.

Returns:

  • (Hash)

    结果集

    • :form_method

      • :method

      • :url

    • :form_data

      • :data



14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# File 'lib/lanmao/form/trade/user_authorization_form.rb', line 14

def user_authorization_form(user_no, request_no, auth_list, redirect_url, fail_time='', amount='')
  service = 'USER_AUTHORIZATION'

  params = {
    platformUserNo: user_no,
    requestNo: request_no,
    authList: auth_list,
    redirectUrl: redirect_url,
    failTime: fail_time,
    amount: amount,
  }

  res = get_form_data(service, params)

  res
end