综合维护 导向标管理 - Aladdin-GIS/XiShiGIS GitHub Wiki
1、获得导向标表的记录
请求地址: Led/GetAll?
请求方式: post
输入:
名称 | 类型 | 注释 | 默认值 |
---|---|---|---|
start | int | 起始页 | 0 |
limit | int | 页数 | 10 |
order | string | 排序字段 | null |
sort | string | 排序方式 | null |
search | string | 过滤条件 | null |
输出:
名称 | 类型 | 注释 | 默认值 |
---|---|---|---|
total | int | 记录总数 | |
rows | object | 数据 | |
msg | string | 信息 | |
success | bool | 成功/失败 | |
code | int | 代码 | 200 |
2、添加导向标
请求地址: Led/Add
请求方式: post
输入:
名称 | 类型 | 注释 | 默认值 |
---|---|---|---|
LED_NAME | string | 名称 | null |
LED_X | string | X坐标 | null |
LED_Y | string | Y坐标 | null |
LED_CLASS | string | 样式类 | null |
输出:
名称 | 类型 | 注释 | 默认值 |
---|---|---|---|
total | int | 记录总数 | |
rows | object | 数据 | |
msg | string | 信息 | |
success | bool | 成功/失败 | |
code | int | 代码 | 200 |
3、删除导向标
请求地址: Led/Delete?ids=1,2,3,...
请求方式: get
输入:
名称 | 类型 | 注释 | 默认值 |
---|---|---|---|
ids | string | 导向标ID字符串组 | 0 |
输出:
名称 | 类型 | 注释 | 默认值 |
---|---|---|---|
total | int | 记录总数 | |
rows | object | 数据 | |
msg | string | 信息 | |
success | bool | 成功/失败 | |
code | int | 代码 | 200 |