Sha256: f3cbdcef77d009240052eedd32ab03caf7244036749a583e10c44c8b784a97a9

Contents?: true

Size: 1.18 KB

Versions: 1

Compression:

Stored size: 1.18 KB

Contents

# coding: utf-8
module Lanmao
  module Form
    module Account
      module PersonalRegisterExpandForm

        #  2.1 个人绑卡注册
        #
        # @return [ Hash ] 结果集
        # @return [ Hash ] 结果集
        #   * :form_method
        #     * :method
        #     * :url
        #   * :form_data
        #     * :data
        #
        def personal_register_expand_form(user_no, flow_id, true_name, id_card_no, bank_card_no, phone, id_card_type, role_type, check_type, return_url, user_limit_type='ID_CARD_NO_UNIQUE', auth_list='', client='MOBILE')
          service = 'PERSONAL_REGISTER_EXPAND'

          params = {
            platformUserNo: user_no,
            requestNo: flow_id,
            realName: true_name,
            idCardNo: id_card_no,
            bankcardNo: bank_card_no,
            mobile: phone,
            idCardType: id_card_type,
            userRole: role_type,
            checkType: check_type,
            redirectUrl: return_url,
            user_limit_type: user_limit_type,
            auth_list: auth_list,
            userDevice: client,
          }

          res = get_form_data(service, params)

          res
        end

      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lanmao-0.1.0 lib/lanmao/form/account/personal_register_expand_form.rb