Sha256: 6a5dab8c6809bd5169e8f4e1d801023383136b9bf84c9cc3b7b79637c99a5b7d
Contents?: true
Size: 1.06 KB
Versions: 3
Compression:
Stored size: 1.06 KB
Contents
# coding: utf-8 module Reapal module Api module User module MobileQuery # 1.4 手机号查询 # # @param contract [ String ] 用户协议号 # # @return [ Hash ] 结果集 # * :result [String] 业务结果:'S/F/P' # * :request_params [Hash] 请求参数 # * :response [Object] 请求返回对象 # * :error_code [String] 错误代号 # * :error_msg [String] 错误信息 # * :data: 具体业务返回信息 # * :contracts [String] 用户协议号 # * :mobile [String] 用户手机号 # def mobile_query(contract) service = 'reapal.trust.mobileQuery' post_path = '/reagw/user/restApi.htm' params = { contracts: contract, queryTime: Time.now.strftime('%Y-%m-%d %H:%M:%S'), } res = operate_post(:query, service, params, post_path, Http::ErrorCode.mobile, ['0000']) Reapal.logger.info res res end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
reapal-0.11.0 | lib/reapal/api/user/mobile_query.rb |
reapal-0.10.1 | lib/reapal/api/user/mobile_query.rb |
reapal-0.10.0 | lib/reapal/api/user/mobile_query.rb |