Module: Lanmao::Api::Trade::Freeze
- Defined in:
- lib/lanmao/api/trade/freeze.rb
Instance Method Summary collapse
Instance Method Details
#freeze(flow_id, platform_user_no, amount, general_freeze_request = "") ⇒ Hash
资金冻结
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
# File 'lib/lanmao/api/trade/freeze.rb', line 20 def freeze(flow_id, platform_user_no, amount, general_freeze_request="") service = "FREEZE" params = { platformUserNo: platform_user_no, requestNo: flow_id, generaFreezeRequest: general_freeze_request, amount: amount } res = operate_post(:operate, service, params, :service) res end |