Sha256: 5e63dafdd89df4421ba72a28779e4f9e02f42ee51f6a77b64a8518ddc56ad010
Contents?: true
Size: 934 Bytes
Versions: 2
Compression:
Stored size: 934 Bytes
Contents
# coding: utf-8 module Reapal module Api module Trust module MobileModify # 1.7 签约手机号修改 # # @param # # @return [ Hash ] 结果集 # * :merchant_id # * :encryptkey # * :data # * :url # * :method # def mobile_modify(contracts, new_phone, busway='01') service = 'reapal.trust.mobileModify' post_path = '/reagw/user/rest.htm' params = { contracts: contracts, mobile: new_phone, busway: busway, returnUrl: '', 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
reapal-0.2.1 | lib/reapal/api/trust/mobile_modify.rb |
reapal-0.2.0 | lib/reapal/api/trust/mobile_modify.rb |