Module: Lanmao::Form::Account::CheckPasswordForm

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

Instance Method Summary collapse

Instance Method Details

#check_password_form(flow_id, user_no, biz_type_description, return_url) ⇒ Hash

2.8 验证密码

Returns:

  • (Hash)

    结果集

    • :form_method

      • :method

      • :url

    • :form_data

      • :data



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

def check_password_form(flow_id, user_no, biz_type_description, return_url)
  service = 'CHECK_PASSWORD'

  params = {
    platformUserNo: user_no,
    requestNo: flow_id,
    bizTypeDescription: biz_type_description,
    redirectUrl: return_url,
  }

  res = get_form_data(service, params)

  res
end