Module: Reapal::Api::User::ModifyBindBankCard
- Defined in:
- lib/reapal/api/user/modify_bind_bank_card.rb
Instance Method Summary collapse
-
#modify_bind_bank_card(flow_id, contracts, bank_account_no, account_province, account_city, branch, subbranch) ⇒ Hash
1.9 修改绑卡(API).
Instance Method Details
#modify_bind_bank_card(flow_id, contracts, bank_account_no, account_province, account_city, branch, subbranch) ⇒ Hash
1.9 修改绑卡(API)
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 |
# File 'lib/reapal/api/user/modify_bind_bank_card.rb', line 27 def modify_bind_bank_card(flow_id, contracts, bank_account_no, account_province, account_city, branch, subbranch) service = 'reapal.trust.modifyBindBankCard' post_path = '/bankcard/modifyBindBankApi.htm' params = { orderNo: flow_id, contracts: contracts, bankAccountNo: bank_account_no, accountProvince: account_province, accountCity: account_city, branch: branch, subbranch: subbranch, applyTime: Time.now.strftime('%Y-%m-%d %H:%M:%S'), } res = operate_post(:operate, service, params, post_path, Http::ErrorCode.bind_card, ['0000']) Reapal.logger.info res res end |