Module: Reapal::Api::Tender::TenderApply
- Defined in:
- lib/reapal/api/tender/tender_apply.rb
Instance Method Summary collapse
Instance Method Details
#tender_apply(flow_id, tender_no, tender_name, money, rate, debit_term, debit_type, repay_date, expiry_date, debit_contracts, guarant_contract = nil, busway = '01', remark = '') ⇒ Hash
3.1 发标
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
# File 'lib/reapal/api/tender/tender_apply.rb', line 34 def tender_apply(flow_id, tender_no, tender_name, money, rate, debit_term, debit_type, repay_date, expiry_date, debit_contracts, guarant_contract=nil, busway='01', remark='') service = 'reapal.trust.tenderApply' post_path = '/reagw/tender/rest.htm' params = { orderNo: flow_id, tenderNo: tender_no, tenderName: tender_name, amount: money, rate: rate, debitTerm: debit_term, debitType: debit_type, repayDate: repay_date, expiryDate: expiry_date, debitContracts: debit_contracts, guarantContract: guarant_contract, busway: busway, remark: remark, applyTime: Time.now.strftime('%Y-%m-%d %H:%M:%S'), } operate_post(:operate, service, params, post_path, Http::ErrorCode.tender_apply, ['0000']) end |