系统管理 数据字典管理 - Aladdin-GIS/XiShiGIS GitHub Wiki
1、获得数据字典的记录
请求地址: Param/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、获得参数名称项
请求地址: Param/GetParam
请求方式: post
输入:
| 名称 | 类型 | 注释 | 默认值 |
|---|---|---|---|
| PAR_PID | int | 参数名称项ID | 0 |
输出:
| 名称 | 类型 | 注释 | 默认值 |
|---|---|---|---|
| total | int | 记录总数 | |
| rows | object | 数据 | |
| msg | string | 信息 | |
| success | bool | 成功/失败 | |
| code | int | 代码 | 200 |
3、添加参数项值
请求地址: Param/Add
请求方式: post
输入:
| 名称 | 类型 | 注释 | 默认值 |
|---|---|---|---|
| PAR_CODE | string | 编码 | null |
| PAR_NAME | string | 名称 | null |
| PAR_ENABLED | string | 是否启用 | null |
| PAR_SORT | string | 排序 | null |
| PAR_PNAME | string | 参数项名称 | null |
| PAR_PID | string | 参数项名称ID | null |
| PAR_ID | string | 参数项值ID | 0 |
输出:
| 名称 | 类型 | 注释 | 默认值 |
|---|---|---|---|
| total | int | 记录总数 | |
| rows | object | 数据 | |
| msg | string | 信息 | |
| success | bool | 成功/失败 | |
| code | int | 代码 | 200 |
4、修改参数名称项
请求地址: Param/Modify
请求方式: post
输入:
| 名称 | 类型 | 注释 | 默认值 |
|---|---|---|---|
| PAR_CODE | string | 编码 | null |
| PAR_NAME | string | 名称 | null |
| PAR_ENABLED | string | 是否启用 | null |
| PAR_SORT | string | 排序 | null |
| PAR_PNAME | string | 参数项名称 | null |
| PAR_PID | string | 参数项名称ID | null |
| PAR_ID | string | 参数项值ID | 0 |
输出:
| 名称 | 类型 | 注释 | 默认值 |
|---|---|---|---|
| total | int | 记录总数 | |
| rows | object | 数据 | |
| msg | string | 信息 | |
| success | bool | 成功/失败 | |
| code | int | 代码 | 200 |
5、删除参数名称项
请求地址: Param/Delete?ids=1,2,3,...
请求方式: get
输入:
| 名称 | 类型 | 注释 | 默认值 |
|---|---|---|---|
| ids | string | 参数项ID字符串组 | 0 |
输出:
| 名称 | 类型 | 注释 | 默认值 |
|---|---|---|---|
| total | int | 记录总数 | |
| rows | object | 数据 | |
| msg | string | 信息 | |
| success | bool | 成功/失败 | |
| code | int | 代码 | 200 |