Module: Reapal::Form::TenderApplyConfirmForm

Defined in:
lib/reapal/form/tender_apply_confirm_form.rb

Instance Method Summary collapse

Instance Method Details

#tender_apply_confirm_form(flow_id, tender_no, return_url, notify_url, bus_way = '01', remark = nil) ⇒ Hash

3.2 发标确认



23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# File 'lib/reapal/form/tender_apply_confirm_form.rb', line 23

def tender_apply_confirm_form(flow_id, tender_no, return_url, notify_url, bus_way='01', remark=nil)
  service = 'reapal.trust.tenderApplyConfirm'
  post_path = '/tender/rest.htm'

  params = {
    orderNo: flow_id,
    tenderNo: tender_no,
    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