lib/reapal/api/money/sub_account_query.rb in reapal-0.3.0 vs lib/reapal/api/money/sub_account_query.rb in reapal-0.9.0
- old
+ new
@@ -3,11 +3,11 @@
module Reapal
module Api
module Money
module SubAccountQuery
- # 2.8 企业分账查询(API)
+ # 2.12 企业分账查询(API)
#
# @param sub_account_flow_id [ String ] 分账订单号
# @param serial_no [ String ] 分账流水号(传空串表示该订单批量查询)
#
# @return [ Hash ] 结果集
@@ -31,10 +31,10 @@
post_path = '/reagw/service/depwit.htm'
params = {
orderNo: sub_account_flow_id,
serialNo: serial_no,
- queryTime: Time.now.strftime('%Y-%m-%d %H:%M:%S'),
+ applyTime: Time.now.strftime('%Y-%m-%d %H:%M:%S'),
}
operate_post(:query, service, params, post_path, Http::ErrorCode.sub_account_query, ['0000'])
end