简要描述:
访问权限
接口URL:
http://api.zmengzhu.com/business/v1/setting/getFullScreen |
请求方式:
返回结果格式:
参数:
参数名 |
是否必须 |
类型 |
默认 |
说明 |
ticket_id |
是 |
int |
- |
活动ID |
返回示例:
响应成功JSON示例:
{
code: 200,
msg: "ok",
data: {
id: "99", //广告ID
uid: "2991455", //盟主号
title: "开屏广告", //标题
content: [{ // h5广告内容
image: //图片 "http://s1.dev.zmengzhu.com/upload/img/4c/2a/4c2a67c8301e94e7341ef2dea069b76d.jpeg",
link: "https://xx.xx.com" //地址
},
{
image: "http://s1.dev.zmengzhu.com/upload/img/4c/2a/4c2a67c8301e94e7341ef2dea069b76d.jpeg",
link: "https://xx.xx.com"
},
{
image: "http://s1.dev.zmengzhu.com/upload/img/4c/2a/4c2a67c8301e94e7341ef2dea069b76d.jpeg",
link: "https://xx.xx.com"
}
],
pc_content: [{// PC端开屏广告
image: "http://s1.dev.zmengzhu.com/upload/img/4c/2a/4c2a67c8301e94e7341ef2dea069b76d.jpeg",
link: "https://xx.xx.com"
},
{
image: "http://s1.dev.zmengzhu.com/upload/img/4c/2a/4c2a67c8301e94e7341ef2dea069b76d.jpeg",
link: "https://xx.xx.com"
},
{
image: "http://s1.dev.zmengzhu.com/upload/img/4c/2a/4c2a67c8301e94e7341ef2dea069b76d.jpeg",
link: "https://www.baidu.com/"
}
],
stay_duration: "3", // 停留时长
created_at: "1586929350", //创建时间
updated_at: "1600758957" //修改时间
}
}
字段说明:
参数名 |
说明 |
code |
成功为200 |
msg |
成功返回ok |
id |
广告ID |
uid |
盟主号 |
title |
标题 |
image |
广告图片 |
link |
广告地址 |
stay_duration |
停留时长 |
created_at |
创建时间 |
updated_at |
修改时间 |
错误时返回:
{
"code": 20001,
"msg": "签名校验失败",
"data": {}
}