[
{
"id": 7,
"name": "Version",
"value": "V 1.0.6",
"description": "软件版本"
},
{
"id": 8,
"name": "TianDiTuTk",
"value": "ea6df376eecfa544a99e6ce983186cd7",
"description": "天地图Tk"
},
{
"id": 9,
"name": "discovery",
"value": "http://172.18.0.183:7080",
"description": "监测模块地址"
}
]
[
{
"id": 33,
"name": "menuLogoName",
"value": null,
"description": "front_end"
},
{
"id": 13,
"name": "CustomMapDir",
"value": "/img/tiles",
"description": "front_end"
},
{
"id": 0,
"name": "cloud_directory",
"value": "/cloud-files/nvisual_admin",
"description": "saas 文件路径"
}
]
接口描述:传入名称,获取相关全局设置。
URL地址:http://ip:port /wapi/v1/global_settings/{name}
访问方法::Get
请求参数:null
Path参数
参数名 | 类型 | 示例值 | 必填 | 说明 |
---|---|---|---|---|
name | String | coordinateSystem | 是 | 设置名称 |
{
"id": 43,
"name": "coordinateSystem",
"value": "EPSG:3857",
"description": "front_end 默认坐标系"
}
{
"code": 200,
"data": {
"nowDate": "2023-02-02T16:00:00.000+0000",
"licenseUsersCount": 1000000,
"organizationName": "PG",
"licenseNodesCount": 1000000,
"edition": "Enterprise_Edition",
"nowUsersCount": 3,
"licenseDate": "3032-12-31T16:00:00.000+0000",
"nowNodesCount": 5752
}
}
接口描述:传入当前服务器ip,生成用户识别码。
URL地址:http://ip:port /wapi/v1/getMachinecode/{ip}
访问方法::Get
请求参数:
Path参数
参数名 | 类型 | 示例值 | 必填 | 说明 |
---|---|---|---|---|
ip | String | 172.18.100.1 | 是 | 服务器ip |
Q0IyRkEwODVDRDUxQzIxRDcxNDRFRTEwN0Y0N0U0MjNCOUFGRTRFQzU5RUUyRDc4NDY2NDI4QzIyN0M3MzREQ0VGMTExQjE0NEFCMDMzNjJBMDcwQjQyQTI0RDkwNERCQzMzOTQ5NjZDMzMwNEI1MkY3RUEyREQ3MjQ4REVDOTQ
接口描述:传入授权许可码,完成授权。
URL地址:http://ip:port /wapi/v1 /saveLicense
访问方法::Put
请求参数:
Body参数
参数名 | 类型 | 示例值 | 必填 | 说明 |
---|---|---|---|---|
license | String | xxxxxxxxxx | 是 | 授权许可证书 |
{
"code": 200,
"data": {
"nowDate": "2023-02-02T16:00:00.000+0000",
"licenseUsersCount": 1000000,
"organizationName": "PG",
"licenseNodesCount": 1000000,
"edition": "Enterprise_Edition",
"nowUsersCount": 3,
"licenseDate": "3032-12-31T16:00:00.000+0000",
"nowNodesCount": 5752
}
}
接口描述:传入全局配置id和要修改的属性,修改全局配置。
URL地址:http://ip:port /wapi/v1/updateGlobalSetting
访问方法::Put
请求参数:
Body参数
参数名 | 类型 | 示例值 | 必填 | 说明 |
---|---|---|---|---|
id | integer | 7 | 是 | 全局设置id |
name | String | Version | 否 | 全局设置名称 |
value | String | 1.0.7 | 否 | 全局设置值 |
description | String | 软件版本 | 否 | 全局设置描述 |
{
"id": 7,
"name": "Version",
"value": "V 1.0.6",
"description": "软件版本"
}
[
"172.18.100.229"
]
接口描述:传入logo图片,修改nvisual。
URL地址:http://ip:port /wapi/v1/updateGlobalSetting
访问方法::Put
请求参数:
Body参数
参数名 | 类型 | 示例值 | 必填 | 说明 |
---|---|---|---|---|
id | integer | 7 | 是 | 全局设置id |
name | String | Version | 否 | 全局设置名称 |
value | String | 1.0.7 | 否 | 全局设置值 |
description | String | 软件版本 | 否 | 全局设置描述 |
{
"path": "../nvisual-frontend/dist/cloud-files/t9/logo",
"name": "ujwhbfmi.png"
}