Module: Reapal::Api::Tender::TenderRepaymentProject
- Defined in:
- lib/reapal/api/tender/tender_repayment_project.rb
Instance Method Summary collapse
-
#tender_repayment_project(flow_id, tender_no, project_details, busway = '01', remark = '') ⇒ Hash
3.9 还款计划.
Instance Method Details
#tender_repayment_project(flow_id, tender_no, project_details, busway = '01', remark = '') ⇒ Hash
3.9 还款计划
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
# File 'lib/reapal/api/tender/tender_repayment_project.rb', line 32 def tender_repayment_project(flow_id, tender_no, project_details, busway='01', remark='') service = 'reapal.trust.repaymentProject' post_path = '/tender/rest.htm' params = { orderNo: flow_id, tenderNo: tender_no, projectDetails: project_details, 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_repayment_project, ['0000']) Reapal.logger.info res res end |