Module: Lanmao::Api::Trade::UserAutoPreTransaction
- Defined in:
- lib/lanmao/api/trade/user_auto_pre_transaction.rb
Instance Method Summary collapse
Instance Method Details
#user_auto_pre_transaction(flow_id, platform_user_id, biz_type, amount, project_no, original_recharge_no = nil, pre_marketing_amount = nil, share = nil, credit_sale_request_no = nil, remark = "") ⇒ Hash
授权预处理
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
# File 'lib/lanmao/api/trade/user_auto_pre_transaction.rb', line 21 def user_auto_pre_transaction(flow_id, platform_user_id, biz_type, amount, project_no, original_recharge_no=nil, pre_marketing_amount=nil, share=nil, credit_sale_request_no=nil, remark="") service = "USER_AUTO_PRE_TRANSACTION" params = { requestNo: flow_id, platformUserNo: platform_user_id, originalRechargeNo: original_recharge_no, bizType: biz_type, amount: amount, preMarketingAmount: pre_marketing_amount, remark: remark, projectNo: project_no, share: share, creditsaleRequestNo: credit_sale_request_no, } res = operate_post(:operate, service, params, :service) res end |