Module: Lanmao::Form::Account::ResetPasswordForm

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

Instance Method Summary collapse

Instance Method Details

#reset_password_form(flow_id, platform_user_no, redirect_url, is_skip = "Forget") ⇒ Hash

修改密码

Returns:

  • (Hash)

    结果集

    • :form_method

      • :method

      • :url

    • :form_data

      • :data



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

def reset_password_form(flow_id, platform_user_no, redirect_url, is_skip="Forget")

  service = "RESET_PASSWORD"

  params = {
    requestNo: flow_id,
    platformUserNo: platform_user_no,
    redirectUrl: redirect_url,
    isSkip: is_skip,
  }

  res = get_form_data(service, params)

  res
end