绑定空间位置的模型列表

简要描述:

  • 列表

请求URL:

  • http://192.168.11.145/space/space/binding/model/space/list

请求方式:

  • Get

参数:

参数名 必选 类型 说明
projectId Integer 项目 ID

请求示例

http://192.168.11.145/space/space/binding/model/space/list?projectId=143

返回示例

{
    "msg": "success",
    "code": 0,
    "data": [
        {
            "delFlag": "0",
            "remark": "remark",
            "createTime": "2020-11-04 10:17:20",
            "updateTime": "2020-11-09 13:42:38",
            "createBy": 2,
            "updateBy": 2,
            "id": 2,
            "tenantId": 61,
            "projectId": 143,
            "projectName": "111",
            "bindType": "0",
            "positionId": 0,
            "spaceId": 6202,
            "modelId": 28,
            "modelTypeId": 7,
            "modelTypeName": "222",
            "longitude": 22.678954,
            "latitude": 22.837362,
            "height": "337",
            "angle": "26",
            "scale": "98",
            "createName": "梁云",
            "type": "0",
            "url": "/group1/M00/00/16/wKgLkV-M6z6AUHomAAB9DL9J3H4778.png",
            "modelUrl": null,
            "modelName": null,
            "spacePosition": null,
            "spaceUnit": null
        },
        {
            "delFlag": "0",
            "remark": "remark",
            "createTime": "2020-11-04 10:17:20",
            "updateTime": "2020-11-09 13:42:38",
            "createBy": 2,
            "updateBy": null,
            "id": 3,
            "tenantId": 61,
            "projectId": 143,
            "projectName": "111",
            "bindType": "0",
            "positionId": 0,
            "spaceId": 6203,
            "modelId": 28,
            "modelTypeId": 7,
            "modelTypeName": "222",
            "longitude": 22.678954,
            "latitude": 22.837362,
            "height": "30",
            "angle": "40",
            "scale": "50",
            "createName": "梁云",
            "type": "0",
            "url": "/group1/M00/00/16/wKgLkV-M6z6AUHomAAB9DL9J3H4778.png",
            "modelUrl": null,
            "modelName": null,
            "spacePosition": null,
            "spaceUnit": null
        },
        {
            "delFlag": "0",
            "remark": "remark",
            "createTime": "2020-11-04 10:17:20",
            "updateTime": "2020-11-09 13:42:38",
            "createBy": 2,
            "updateBy": null,
            "id": 4,
            "tenantId": 61,
            "projectId": 143,
            "projectName": "111",
            "bindType": "0",
            "positionId": 0,
            "spaceId": 6204,
            "modelId": 28,
            "modelTypeId": 7,
            "modelTypeName": "222",
            "longitude": 22.678954,
            "latitude": 22.837362,
            "height": "30",
            "angle": "40",
            "scale": "50",
            "createName": "梁云",
            "type": "0",
            "url": "/group1/M00/00/16/wKgLkV-M6z6AUHomAAB9DL9J3H4778.png",
            "modelUrl": null,
            "modelName": null,
            "spacePosition": null,
            "spaceUnit": null
        }
    ]
}

返回参数说明

参数名 类型 说明
code int 状态码, 0:成功;其他:异常
message String 描述信息
data object 返回数据
id Integer id
tenantId Integer 租户 ID
projectId Integer 项目 ID
projectName String 项目名称
bindType String 绑定类别 0:分组 1:单一
positionId Integer 空间单元 ID
spaceId Integer 空间位置 ID
modelId Integer 模型 ID
modelTypeId Integer 模型类型 ID
modelTypeName String 模型类型名称
longitude BigDecimal 经度
latitude BigDecimal 纬度
height String 高度
angle String 角度
scale String 比例
createName String 创建人
type String 绑定类型 0:空间位置 1:空间单元
spacePosition Space 空间位置
spaceUnit Position 空间单元

备注