Sha256: 382881104b15b39efa121b3aaca7c985b2d915d18e88dedfad72333b6c99dcdb
Contents?: true
Size: 974 Bytes
Versions: 1
Compression:
Stored size: 974 Bytes
Contents
# coding: utf-8 module Reapal module Api module Trust module FindTradePassowrd # 1.9 设置/修改交易密码 # # @param # # @return [ Hash ] 结果集 # * :merchant_id # * :encryptkey # * :data # * :url # * :method # def find_trade_password(contracts, returnUrl, notifyUrl, busway='01') service = 'reapal.trust.findTradePassword' post_path = '/reagw/findTradePassword/findTradePassword.htm' params = { contracts: contracts, busway: busway, returnUrl: returnUrl, notifyUrl: notifyUrl, applyTime: Time.now.strftime('%Y-%m-%d %H:%M:%S'), } request = Http.get_body(service, params, @config) request[:method] = :post request[:url] = config[:server_url] + post_path request end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
reapal-0.2.1 | lib/reapal/api/trust/find_trade_password.rb |