文档
测试

查询数字字典配置所有广告位

GET
/api/common/datadict/getdata

接口描述

查询数据字典配置的广告位

请求参数

参数名
类型
描述
必填
typeno
String
数据字典分类编号,adposition--表示数据字典广告配置
必填

响应参数

参数名
类型
描述
必填
result
int
0--成功,其他--失败。示例:0
必填
data
array
数据列表
必填
typeno
string
数据字典分类编号。示例:adposition--表示广告位配置
可选
orderindex
int
排序号,越小优先级越高。示例:100
可选
text
string
key对应的描述。示例:首页轮播
可选
rid
int
tb_datadic表t的自增id
可选
remark1
string
备注
可选
key
string
值。示例:HomeSwipe
可选
msg
string
提示信息。示例:
必填

说明 / 示例

请求示例: `http://test.fanduola.com:8001/api/common/datadict/getdata?typeno=adposition&_=1626955987050` 返回示例: ``` { "result": 0, "data": [ { "typeno": "adposition", "orderindex": 100, "text": "首页轮播", "rid": 201, "remark1": "", "key": "HomeSwipe" }, { "typeno": "adposition", "orderindex": 100, "text": "首页公告", "rid": 212, "remark1": "", "key": "HomeAd" }, { "typeno": "adposition", "orderindex": 100, "text": "商城轮播", "rid": 240, "remark1": "", "key": "ShopSwipe" }, { "typeno": "adposition", "orderindex": 100, "text": "首页图片广告", "rid": 241, "remark1": "", "key": "HomeImage" } ], "msg": "" } ```