Module: Reapal::Api::Tender::TenderAuthCancel
- Defined in:
- lib/reapal/api/tender/tender_auth_cancel.rb
Instance Method Summary collapse
Instance Method Details
#tender_auth_cancel(flow_id, contracts, services, busway = "01", remark = '') ⇒ Hash
3.14 标的授权取消
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
# File 'lib/reapal/api/tender/tender_auth_cancel.rb', line 26 def tender_auth_cancel(flow_id, contracts, services, busway="01", remark='') service = 'reapal.trust.authCancel' post_path = '/user/restApi.htm' params = { cancleOrderNo: flow_id, contracts: contracts, services: services, 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_auth_cancel, ['0000']) Reapal.logger.info res res end |