- 基础信息(gromis_basic_db)
- 区域服务
- 水库信息查询
- 水库信息
- 大坝信息
- 溢洪道信息
- 泄洪洞信息
- 用户关联水库
- 文件资料
- 引调水基础信息
- 通航建筑物信息
- 过鱼建筑物信息
- 生态流量设施信息
- 泵站基础信息
- 防洪效益信息
- 灌溉效益信息
- 工业园区供水效益
- 供水水厂效益信息
- 发电效益信息
- 生态景观效益信息
- 其他效益信息
- 渠(沟)道基础信息
- 大坝监测设施情况
- 水库运行管理情况
- 库(湖)容曲线表
- 库(湖)容曲线核查表
- 放空建筑物信息
- 地图图斑
- 任务信息
- 水库基础信息核查资料收集清单
- 水库公用文件
- 水雨情测站设施情况
- 调查任务通知信息
- 任务审核日志
- 数据填报操作
- 统计服务
- 任务变更记录
- 基础业务(gromis_business_db)
- 监测数据(gromis_monitoring_db)
- 系统管理(gromis_sys_db)
- 四预模块(gromis_fp_db)
- 模型接口 V0 (设计院)
- 模型接口 V1 (设计院)
- API服务提供
- 模型调度
- 备份
模糊综合评价模型评估接口
开发环境
http://192.168.11.46:13000
开发环境
http://192.168.11.46:13000
POST
/v1/engineering_safety_evaluation/fuzzy_comprehensive_evaluation
层次分析法评估接口
请求参数
Body 参数application/json
评估目录树
id
integer
ID 编号
weight
array[string]
权重列表
score
array[string]
分数列表
children
array[object (工程评估树) {4}]
子节点列表
id
integer
ID 编号
weight
array[string]
权重列表
score
array[string]
分数列表
children
array[object (工程评估树) {4}]
子节点列表
示例
{
"id": 1,
"weight": [0],
"score": [0],
"children": [
{
"id": 2,
"weight": [0],
"score": [0],
"children": [
{"id": 5, "weight": [0.3], "score": [0.3], "children": null},
{"id": 6, "weight": [0.4], "score": [0.7], "children": null}
]
},
{
"id": 3,
"weight": [0],
"score": [0],
"children": [
{"id": 7, "weight": [0.5], "score": [0.7], "children": null}
]
},
{
"id": 4,
"weight": [0.2],
"score": [0.7],
"children": null
}
]
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://192.168.11.46:13000/v1/engineering_safety_evaluation/fuzzy_comprehensive_evaluation' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 1,
"weight": [0],
"score": [0],
"children": [
{
"id": 2,
"weight": [0],
"score": [0],
"children": [
{"id": 5, "weight": [0.3], "score": [0.3], "children": null},
{"id": 6, "weight": [0.4], "score": [0.7], "children": null}
]
},
{
"id": 3,
"weight": [0],
"score": [0],
"children": [
{"id": 7, "weight": [0.5], "score": [0.7], "children": null}
]
},
{
"id": 4,
"weight": [0.2],
"score": [0.7],
"children": null
}
]
}'
返回响应
🟢200成功
application/json
Body
code
integer
响应代码
msg
string
响应消息
data
object (工程评估树)
响应返回体
id
integer
ID 编号
weight
array[string]
权重列表
score
array[string]
分数列表
children
array[object (工程评估树) {4}]
子节点列表
示例
{
"code": 200,
"msg": "评估结果计算成功!",
"data": {
"id": 1,
"weight": [
0
],
"score": [
0.13999999999999999
],
"children": [
{
"id": 2,
"weight": [
0
],
"score": [
0.37
],
"children": [
{
"id": 5,
"weight": [
0.3
],
"score": [
0.3
],
"children": null
},
{
"id": 6,
"weight": [
0.4
],
"score": [
0.7
],
"children": null
}
]
},
{
"id": 3,
"weight": [
0
],
"score": [
0.35
],
"children": [
{
"id": 7,
"weight": [
0.5
],
"score": [
0.7
],
"children": null
}
]
},
{
"id": 4,
"weight": [
0.2
],
"score": [
0.7
],
"children": null
}
]
}
}
🟠422参数错误