Module: Lanmao::Form::Account::PersonalBindBankcardExpandForm

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

Instance Method Summary collapse

Instance Method Details

#personal_bind_bankcard_expand_form(flow_id, redirect_url, platform_user_no, phone = '', bankcard_no = '', check_type = "LIMIT", bind_type = "UPDATE_BANKCARD") ⇒ Hash

个人换绑卡

Returns:

  • (Hash)

    结果集

    • :result [String] “S”/“F”/“P”

    • :request_params [Hash] 请求参数

    • :response [Object] 请求返回对象

    • :code [String] 结果代码

    • :msg [String] 结果信息

    • :data: 具体业务返回信息

      * :url [String] 支付 url
      * :order_no [String] 订单号
      * :amount [Number] 金额
      


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

def personal_bind_bankcard_expand_form(flow_id, redirect_url, platform_user_no, phone='', bankcard_no='',check_type="LIMIT", bind_type="UPDATE_BANKCARD")
  service = "PERSONAL_BIND_BANKCARD_EXPAND"
  params = {
    requestNo: flow_id,
    redirectUrl: redirect_url,
    platformUserNo: platform_user_no,
    checkType: check_type,
    bindType: bind_type,
    mobile: phone,
    bankcardNo: bankcard_no,
  }

  res = get_form_data(service, params)

  res
end