Module: Reapal::Form::FindTradePassowrdForm
- Defined in:
- lib/reapal/form/find_trade_password_form.rb,
lib/reapal/form/reset_trade_password_form.rb
Instance Method Summary collapse
-
#find_trade_password_form(contract, return_url, notify_url, busway = '01') ⇒ Hash
1.5 设置/修改交易密码.
-
#reset_trade_password_form(contract, return_url, notify_url, busway = '01') ⇒ Hash
1.9 重置交易密码.
Instance Method Details
#find_trade_password_form(contract, return_url, notify_url, busway = '01') ⇒ Hash
1.5 设置/修改交易密码
23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
# File 'lib/reapal/form/find_trade_password_form.rb', line 23 def find_trade_password_form(contract, return_url, notify_url, busway='01') service = 'reapal.trust.findTradePassword' post_path = '/findTradePassword/findTradePassword.htm' params = { contracts: contract, 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 |
#reset_trade_password_form(contract, return_url, notify_url, busway = '01') ⇒ Hash
1.9 重置交易密码
23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
# File 'lib/reapal/form/reset_trade_password_form.rb', line 23 def reset_trade_password_form(contract, return_url, notify_url, busway='01') service = 'reapal.trust.resetTradePassword' post_path = '/findTradePassword/resetTradePassword.htm' params = { contracts: contract, 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 |