文档
测试

查询商家类别

GET
/api/common/datadict/getdata

请求头

参数名
类型
描述
必填
Cookie
String
必填

请求参数

参数名
类型
描述
必填
typeno
Sring
merchantType
必填

响应参数

参数名
类型
描述
必填
result
int
示例:0
必填
data
array
数据列表
必填
typeno
string
数据字典分类编号。示例:merchantType
必填
orderindex
int
排序用,数字越小越往前排。示例:1
必填
text
string
类别名称。示例:美食
必填
rid
int
主键id。示例:3597
必填
remark1
string
备注1。示例:
可选
key
string
类比标识,对应 merchantType。示例:001
必填
msg
string
示例:
必填

说明 / 示例

请求示例: `/api/common/datadict/getdata?typeno=merchantType` 返回示例: ``` { "result": 0, "data": [ { "typeno": "merchantType", "orderindex": 1, "text": "美食", "rid": 3597, "remark1": "", "key": "001" } ], "msg": "" } ```