Module: Reapal::Api::Tender::TenderClose
- Defined in:
- lib/reapal/api/tender/tender_close.rb
Instance Method Summary collapse
Instance Method Details
#tender_close(tender_no, busway = "01", remark = '') ⇒ Hash
3.18 标的关闭
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
# File 'lib/reapal/api/tender/tender_close.rb', line 23 def tender_close(tender_no, busway="01", remark='') service = 'reapal.trust.tenderClose' post_path = '/tender/rest.htm' params = { tenderNo: tender_no, busway: busway, remark: remark, applyTime: Time.now.strftime('%Y-%m-%d %H:%M:%S'), } res = operate_post(:operate, service, params, post_path, Http::ErrorCode.tender_close, ['0000']) Reapal.logger.info res res end |