Module: Reapal::Form::UserContractForm
- Defined in:
- lib/reapal/form/user_contract_form.rb
Instance Method Summary collapse
Instance Method Details
#user_contract_form(flow_id, true_name, identity_id, user_type, return_url, notify_url, bus_way = '01', remark = '') ⇒ Hash
1.1 个人签约
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 |
# File 'lib/reapal/form/user_contract_form.rb', line 25 def user_contract_form(flow_id, true_name, identity_id, user_type, return_url, notify_url, bus_way='01', remark='') service = 'reapal.trust.userContract' post_path = '/agreement/agree.htm' params = { orderNo: flow_id, userName: true_name, userIdentity: identity_id, userType: user_type, returnUrl: return_url, notifyUrl: notify_url, busway: bus_way, remark: remark, applyTime: Time.now.strftime('%Y-%m-%d %H:%M:%S'), } get_form_data(service, params, post_path) end |