Module: Reapal::Api::Tender::TenderOnekeyInvestHistory
- Defined in:
- lib/reapal/api/tender/tender_onekey_invest_history.rb
Instance Method Summary collapse
-
#tender_onekey_invest_history(tender_no, invest_details, remark = '') ⇒ Hash
3.15 投资关系迁移 (要求标的为已满标放款状态).
Instance Method Details
#tender_onekey_invest_history(tender_no, invest_details, remark = '') ⇒ Hash
3.15 投资关系迁移 (要求标的为已满标放款状态)
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 |
# File 'lib/reapal/api/tender/tender_onekey_invest_history.rb', line 29 def tender_onekey_invest_history(tender_no, invest_details, remark='') service = 'reapal.trust.onekeyInvestHistory' post_path = '/tender/rest.htm' params = { tenderNo: tender_no, investDetails: invest_details, remark: remark, applyTime: Time.now.strftime('%Y-%m-%d %H:%M:%S'), } res = operate_post(:operate, service, params, post_path, Http::ErrorCode.tender_onekey_invest, ['0000']) Reapal.logger.info res res end |