Sha256: 70c1da582f5fe8a85171958f9cac49e773c2bd6feae0d16c5cf87319c2e86e7a

Contents?: true

Size: 1.49 KB

Versions: 4

Compression:

Stored size: 1.49 KB

Contents

# coding: utf-8
module Lanmao
  module Form
    module Account
      module EnterpriseRegisterForm
        #
        #  2.2 企业绑卡注册
        #
        # @return [ Hash ] 结果集
        #   * :form_method
        #     * :method
        #     * :url
        #   * :form_data
        #     * :data
        #
        def enterprise_register_form(flow_id, user_no, enterprise_name, bank_licence, org_no, tax_no, business_license, unified_code,
                                     credit_code, legal, id_card_type, legal_id_card_no, contact, contact_phone, role_type,
                                     bank_card_no, bank_code, return_url, auth_list='')
          service = 'ENTERPRISE_REGISTER'

          params = {
            platformUserNo: user_no,
            requestNo: flow_id,
            enterpriseName: enterprise_name,
            bankLicense: bank_licence,
            orgNo: org_no,
            businessLicense: business_license,
            taxNo: tax_no,
            unifiedCode: unified_code,
            creditCode: credit_code,
            legal: legal,
            idCardType: id_card_type,
            legalIdCardNo: legal_id_card_no,
            contact: contact,
            contactPhone: contact_phone,
            userRole: role_type,
            bankcardNo: bank_card_no,
            bankcode: bank_code,
            redirectUrl: return_url,
            authList: auth_list,
          }

          res = get_form_data(service, params)

          res
        end

      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
lanmao-0.6.0 lib/lanmao/form/account/enterprise_register_form.rb
lanmao-0.5.0 lib/lanmao/form/account/enterprise_register_form.rb
lanmao-0.4.0 lib/lanmao/form/account/enterprise_register_form.rb
lanmao-0.2.0 lib/lanmao/form/account/enterprise_register_form.rb