获取广告信息
GET
http://yj.hndaoben.com/api/index/get_adv?type=0&cate_id=c
请求参数
参数名
类型
描述
必填
type
int
示例:0 广告位置:0=浏览栏目,1=豫健号首页,2=百科首页,3=认证中心
必填
cate_id
string
示例:c 浏览栏目下的分类id c=关注 r=推荐 l=本地 数字=自定义分类id
必填
响应参数
参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:ok
必填
time
string
示例:1630898298
必填
id
int
示例:3
必填
name
string
示例:关注页面广告
必填
desc
string
示例:关注页面广告
必填
type
int
示例:0
必填
show
int
示例:0
必填
extend
string
示例:c
必填
image
string
示例:/uploads/20210906/e3bd3858dee6f546be575e1232ac4a8d.jpg
必填
type
string
示例:rank
必填
id
string
示例:
必填
link
string
示例: 跳转地址
必填
sort
int
示例:0
必填
status
int
示例:1
必填
updatetime
int
示例:1630897899
必填
createtime
int
示例:1630897878
必填
type_text
string
示例:Type 0
必填
show_text
string
示例:Show 0
必填
status_text
string
示例:Status 1
必填