company.{id}
查询指定的公司
- 请求路由:
company.{id}- 交互模型:
Request Response根据id查询指定的公司
请求
RSocket.rr({
route: 'company.8848@szbp',
})
请求参数
| 属性 | 类型 | 默认值 | 必须 | 说明 |
|---|---|---|---|---|
| id | string | 是 | 公司唯一id |
返回
{
"crBy": "admin@szbp",
"upBy": "admin@szbp",
"crDate": "2022-03-23T02:13:10.251Z",
"upDate": "2022-03-28T09:45:10.831Z",
"tenantId": "szbp",
"id": "8848@szbp",
"encode": "8848",
"name": "测试公司数 据3",
"registerAddr": "CN",
"registerAddrText": "内地",
"operateType": "2",
"operateTypeText": "客运",
"goodTypes": [
"2"
],
"email": "ceshi@qq.com",
"contact": "fang",
"contactMobile": "18296888015",
"address": "测试数据",
"auditStatus": 2,
"isUsername": true,
"disable": false,
"extra": {
"password": "123456"
},
"goodTypeNames": [
"防疫物资保障车辆"
],
"vehicleCount": 4,
"driverConsoleCount": 1,
"subscribeCount": 0
}
返回属性
| 属性 | 类型 | 说明 |
|---|---|---|
| id | string | 唯一id |
| encode | string | 工商编码 |
| name | string | 公司名称 |
| registerAddr | String | 注册地区(香港HK,大陆CN) |
| operateType | String | 营运类别 货运1,客运2 |
| goodTypes | List | 经营范围 1生鲜冷链,2抗疫物资,3民生物资,4大宗商品 |
| String | 公司邮箱 | |
| contact | String | 联系人 |
| contactMobile | String | 联系人电话 |
| address | String | 联系地址 |
| auditStatus | Integer | 审核状态,1未通过,2已通过 |
| isUsername | Boolean | 是否存在username(不存储数据库) |
| disable | Boolean | 状态(不存储数据库) |
| captchaCode | String | 验证码(不存储数据库) |
| captchaKey | String | 验证码key(不存储数据库) |
| attachements | List | 附件 登记证、行驶证、出入境证件等 |
| extra | Map<String,String> | 额外数据 |