Module: Reapal::Form::BusinessAuthForm
- Defined in:
- lib/reapal/form/business_auth_form.rb
Instance Method Summary collapse
-
#business_auth_form(flow_id, contracts, services, auth_limit, return_url, notify_url, tender_no = nil, busway = '01') ⇒ Hash
3.20 标的授权 (Form).
Instance Method Details
#business_auth_form(flow_id, contracts, services, auth_limit, return_url, notify_url, tender_no = nil, busway = '01') ⇒ Hash
3.20 标的授权 (Form)
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 |
# File 'lib/reapal/form/business_auth_form.rb', line 27 def business_auth_form(flow_id, contracts, services, auth_limit, return_url, notify_url, tender_no=nil, busway='01') service = 'reapal.trust.businessAuth' post_path = '/reagw/user/rest.htm' params = { orderNo: flow_id, contracts: contracts, services: services, busway: busway, authLimit: auth_limit, tenderNo: tender_no, returnUrl: return_url, notifyUrl: notify_url, remark: '', applyTime: Time.now.strftime('%Y-%m-%d %H:%M:%S') } get_form_data(service, params, post_path) end |