lib/reapal/api/tender/tender_repayment_complete.rb in reapal-0.9.2 vs lib/reapal/api/tender/tender_repayment_complete.rb in reapal-0.9.3
- old
+ new
@@ -12,11 +12,11 @@
# @param periods [Integer] 还款期数
# @param comp_principal [BigDecimal] 执行还款本金
# @param comp_interest [BigDecimal] 执行还款利息
# @param comp_poundage [BigDecimal] 执行还款手续费
# @param comp_amount [BigDecimal] 执行还款总金额
- # @param comp_time [String] 执行还款日期
+ # @param comp_time [Time] 执行还款日期
# @param busway [String] 设备通道, '00':PC端;'01':手机端(默认);'02':Pad端;'03':其它
# @param remark [String] 备注
#
# @return [ Hash ] 结果集
# * :result [String] 业务结果:'S/F/P'
@@ -39,10 +39,10 @@
periods: periods,
compPrincipal: comp_principal,
compInterest: comp_interest,
compPoundage: comp_poundage,
compAmount: comp_amount,
- compTime: comp_time,
+ compTime: comp_time.strftime('%Y%m%d'),
busway: busway,
remark: remark,
applyTime: Time.now.strftime('%Y-%m-%d %H:%M:%S'),
}