Module: Lanmao::Form::Account::ActivateStockedUserForm

Defined in:
lib/lanmao/form/account/activate_stocked_user_form.rb

Instance Method Summary collapse

Instance Method Details

#activate_stocked_user_form(flow_id, return_url, user_no, auth_list = '', fail_time = '', amount = '', check_type = 'LIMIT', card_change = 'UNMOD') ⇒ Hash

2.11 会员激活

Returns:

  • (Hash)

    结果集

    • :form_method

      • :method

      • :url

    • :form_data

      • :data



17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# File 'lib/lanmao/form/account/activate_stocked_user_form.rb', line 17

def activate_stocked_user_form(flow_id, return_url, user_no, auth_list='', fail_time='', amount='', check_type='LIMIT', card_change='UNMOD')
  service = 'ACTIVATE_STOCKED_USER'

  params = {
    platformUserNo: user_no,
    requestNo: flow_id,
    authList: auth_list,
    redirectUrl: return_url,
    checkType: check_type,
    cardChange: card_change,
    failTime: fail_time,
    amount: amount,
  }

  res = get_form_data(service, params)

  res
end