lib/reapal/api/tender/tender_onekey_invest.rb in reapal-0.9.13 vs lib/reapal/api/tender/tender_onekey_invest.rb in reapal-0.10.0

- old
+ new

@@ -3,18 +3,18 @@ module Reapal module Api module Tender module TenderOneKeyInvest - # 3.6 一键投标 + # 3.5 一键投标 # # @param flow_id [ String ] 投标订单号 # @param tender_no [ String ] 投标的标号 # @param amount [ BigDecimal ] 自费金额 # @param coupon_amt [ BigDecimal ] 红包/抵用券 ,该参数可不传,或 > 0 # @param invest_contracts [ String ] 投资方协议号 - # @param busway [ String ] 设备通道 00:PC端;01:手机端;02:Pad端;03:其它 + # @param busway [ String ] 设备通道,默认手机端 00:PC端;01:手机端;02:Pad端;03:其它 # @param remark [ String ] 备注 # # @return [ Hash ] 结果集 # * :result [String] 业务结果:'S/F/P' # * :request_params [Hash] 请求参数 @@ -41,10 +41,10 @@ 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_onekey_invest, ['0000']) + res = operate_post(:operate, service, params, post_path, Http::ErrorCode.tender_onekey_invest, ['0000'], '3.0') if 'S' == res[:result] && '0001' == res[:data][:resultCode] res[:result] = 'F' end