Module: Lanmao::Api::Query::QueryProjectInformation

Defined in:
lib/lanmao/api/query/query_project_information.rb

Instance Method Summary collapse

Instance Method Details

#query_project_information(project_no) ⇒ Hash

表的信息查询

Returns:

  • (Hash)

    结果集

    • :result [String] “S”/“F”/“P”

    • :request_params [Hash] 请求参数

    • :response [Object] 请求返回对象

    • :code [String] 结果代码

    • :msg [String] 结果信息

    • :data: 具体业务返回信息

      * :banks [Array] 查询结果银行列表
        * :union_bank_code [String] 人行分配联行号
        * :bank_name [String] 银行分支行全称
      


20
21
22
23
24
25
26
27
28
29
30
# File 'lib/lanmao/api/query/query_project_information.rb', line 20

def query_project_information(project_no)
  service = 'QUERY_PROJECT_INFORMATION'

  params = {
    projectNo: project_no,
  }

  res = operate_post(:query, service, params, :service)

  res
end