Sha256: 37ce90c16aab4b8bc9d8c6a95b6e06116ffcf2eff341fc66833c8e68efbce7ba
Contents?: true
Size: 1.1 KB
Versions: 6
Compression:
Stored size: 1.1 KB
Contents
# coding: utf-8 module Reapal module Form module MobileModifyForm # 1.3 签约手机号修改 # # @param contract [String] 用户协议 # @param new_phone [String] 新手机号 # @param return_url [String] 回调 url # @param notify_url [String] 通知 url # @param busway [String] 设备通道,默认手机端。00:PC端;01:手机端;02:Pad端;03:其它 # # @return [ Hash ] 结果集 # * :form_method # * :method # * :url # * :form_data # * :merchant_id # * :encryptkey # * :data # def mobile_modify_form(contract, new_phone, return_url, notify_url, busway='01') service = 'reapal.trust.mobileModify' post_path = '/user/rest.htm' params = { contracts: contract, mobile: new_phone, busway: busway, returnUrl: return_url, notifyUrl: notify_url, applyTime: Time.now.strftime('%Y-%m-%d %H:%M:%S'), } get_form_data(service, params, post_path) end end end end
Version data entries
6 entries across 6 versions & 1 rubygems