1.URL
http://124.223.60.234:8080/system/asset/dangerarea/addDangerArea
2.请求参数
2.1请求头
在Headers里面增加token:对应登录验证成功后,data里面对应的tokenId
2.2.参数示例
{
"orgId":"E86CB5248B36484E924AA0A97783B767",
"name":"祥源城",
"code":"20241115001",
"formType":1,
"centerLat":31.834412,
"centerLon":117.124451,
"radius":0,
"path":"[{\"lat\":31.8371612,\"lon\":117.12346703},{\"lat\":31.83560296,\"lon\":117.12199577},{\"lat\":31.83436505,\"lon\":117.11973925},{\"lat\":31.83382397,\"lon\":117.11938876},{\"lat\":31.83213519,\"lon\":117.1194028},{\"lat\":31.83227163,\"lon\":117.12838105},{\"lat\":31.83711144,\"lon\":117.12843737},{\"lat\":31.83718543,\"lon\":117.12349505},{\"lat\":31.8371612,\"lon\":117.12346703}]",
"address":"安徽省合肥市蜀山区望江西路 祥源城内,6+1生鲜生活超市(祥源店)附近38米",
"area":0.392000,
"descInfo":"测试仓库"
}
2.3.参数说明
字段 | 类型 | 说明 | 是否必须 |
---|---|---|---|
orgId | String | 组织唯一标识 | Y |
name | String | 仓库名称 | Y |
code | String | 仓库编码 | Y |
formType | int | 仓库类型(1:多边形;2:圆形) | Y |
centerLat | double | 中心点纬度 | Y |
centerLon | double | 中心点经度 | Y |
radius | int | 圆形仓库半径,多边形默认0 | Y |
path | String | 多边形仓库点集合,圆形围栏可为空 | Y |
address | String | 仓库地址 | Y |
area | double | 仓库面积 | Y |
descInfo | String | 仓库描述 | Y |
3.接口应答
3.1.返回示例
{
"code": 200,
"message": "Operation succeeded",
"data": null
}
3.2.返回结果说明
字段 | 类型 | 说明 |
---|---|---|
code | int | 返回状态 |
message | String | 返回结果描述 |
data | object | 返回结果体 |
作者:admin 创建时间:2024-11-15 15:41
最后编辑:admin 更新时间:2025-04-23 17:26
最后编辑:admin 更新时间:2025-04-23 17:26