跳到主要内容

affiliate.company.{id}

根据id查询挂靠公司

  • 请求路由: affiliate.company.{id}
  • 交互模型: Request Response

请求​

RSocket.rr({
route: 'affiliate.company.{id}',
args: {
id: 'xx',
}
})

请求参数​

属性类型默认值必须说明
idstring是

返回​

指定查询出的挂靠公司

{
"id": "xx",
"companyId": "",
"encode": "",
"name": "",
"isAffiliate": ""
}

返回属性​

属性类型说明
idstring
companyIdstring管理公司id
encodestring工商编码
namestring公司名称
isAffiliateBoolean是否是管理公司

错误码​

无