Sha256: e6bf344f9d68aa122a28b23f39d9d7c021e1750d0a38b4e3b28eae3fad817388
Contents?: true
Size: 802 Bytes
Versions: 17
Compression:
Stored size: 802 Bytes
Contents
# coding: utf-8 module Reapal module Form module DataHelper # 跳转到富民 Form 类的 api,统一返回处理 # # @param service [ String ] 富民的服务 # @param params [ Hash ] 参数 # @param post_path [ String ] post url # # @return [ Hash ] 结果集 # * form_method # * url # * method # * form_data # * :merchant_id # * :encryptkey # * :data # def get_form_data(service, params, post_path) request = Http.get_body(service, params, @config) { form_method: { :url => @config[:server_url] + post_path, :method => :post, }, form_data: request } end end # DataHelper end end
Version data entries
17 entries across 17 versions & 1 rubygems