文档
测试

字典数据根据dictTyp查找列表

GET
http://192.168.1.107:8501/cpcp/sysdictdata/list?page=1&limit=10&dictType=send_type

接口描述

/cpcp/sysdictdata/list

请求参数

参数名
类型
描述
必填
page
int
当前页数
必填
limit
int
每页展示数量
必填
dictType
string
字典类型 value
必填

响应参数

参数名
类型
描述
必填
msg
string
示例:success
必填
code
int
示例:0
必填
page
object
数据字典
必填
totalCount
int
示例:2
必填
pageSize
int
示例:10
必填
totalPage
int
示例:1
必填
currPage
int
示例:1
必填
list
array
数据列表
必填
id
int
示例:1
必填
dictName
string
示例:智慧工作
必填
dictValue
string
示例:zhgz
必填
dictType
string
示例:send_type
必填
dictSort
int
示例:0
必填
status
string
示例:0
必填
createBy
int
示例:1
必填
createTime
string
示例:2021-06-22 16:10:06
必填
updateBy
int
示例:1
必填
updateTime
string
示例:2021-06-22 16:10:06
必填
remark
string
示例:测试数据
必填

说明 / 示例

请求示例 ```json http://192.168.1.107:8501/cpcp/sysdictdata/list?page=1&limit=10&dictType=send_type ``` 返回示例 ```json { "msg": "success", "code": 0, "page": { "totalCount": 2, "pageSize": 10, "totalPage": 1, "currPage": 1, "list": [ { "id": 1, "dictName": "智慧工作", "dictValue": "zhgz", "dictType": "send_type", "dictSort": 0, "status": "0", "createBy": 1, "createTime": "2021-06-22 16:10:06", "updateBy": 1, "updateTime": "2021-06-22 16:10:06", "remark": "测试数据" }, { "id": 2, "dictName": "AI外呼", "dictValue": "aiwh", "dictType": "send_type", "dictSort": 0, "status": "0", "createBy": 1, "createTime": "2021-06-22 16:10:06", "updateBy": 1, "updateTime": "2021-06-22 16:10:06", "remark": "测试数据" } ] } } ```