Module: Lanmao::Form::Account::EnterpriseRegisterForm
- Defined in:
- lib/lanmao/form/account/enterprise_register_form.rb
Instance Method Summary collapse
Instance Method Details
#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 = '', fail_time = '', amount = '') ⇒ Hash
2.2 企业绑卡注册
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
# File 'lib/lanmao/form/account/enterprise_register_form.rb', line 16 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='', fail_time='', amount='') 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, failTime: fail_time, amount: amount, } res = get_form_data(service, params) res end |