Sha256: 64d9a8d464f29d213324ae2ab722b25b0c93d85e5f399a49acad881f6c5b5d21
Contents?: true
Size: 1003 Bytes
Versions: 2
Compression:
Stored size: 1003 Bytes
Contents
# coding: utf-8 module Reapal module Api module Trust module ContractQuery # 1.5 签约查询,支持个人和企业(API) # # @param ori_flow_id [ String ] 原订单号 # # @return [ Hash ] 结果集 # * :result [String] "S"/"F"/"P" # * :error_msg [String] 错误提示 # * :data [Hash] 成功数据,解析和【个人签约API】/【企业签约API】一致 # def contract_query(ori_flow_id) # TODO(tony): 目前我们只用个人签约,个人签约都是同步返回,所以先不做实现 raise "Not Implement" # service = 'reapal.trust.contractQuery' # post_path = '/reagw/agreement/agreeApi.htm' # params = { # orderNo: ori_flow_id, # applyTime: Time.now.strftime('%Y-%m-%d %H:%M:%S'), # } # response = Http.post(service, params, @config, post_path) end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
reapal-0.2.1 | lib/reapal/api/trust/contract_query.rb |
reapal-0.2.0 | lib/reapal/api/trust/contract_query.rb |