点开工具、字典、anything


返回小程序的广告池

<p><strong>简要描述:</strong> </p> <ul> <li>返回小程序的广告池</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>http://xx.com/api/ad/get_pool_list</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>POST </li> </ul> <p><strong>参数:</strong> </p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">openid</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>用户 openid</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code>{ "state": true, "msg": "获取成功", "code": 1, "data": { "use_pool": true, "ad_list": [ { "title": "MP链接一", "type": 4, "url": "https://mp.weixin.qq.com/s/WSSHkW07rX8UzKgoaN6a4w", "img": "http://dev.heka4.site/test/images/jpg/2018112113234603.jpg", "pool_id": 6 }, { "title": "MP链接一", "type": 4, "url": "https://mp.weixin.qq.com/s/WSSHkW07rX8UzKgoaN6a4w", "img": "http://dev.heka4.site/test/images/jpg/2018112113234603.jpg", "pool_id": 7 }, { "title": "MP链接一", "type": 4, "url": "https://mp.weixin.qq.com/s/WSSHkW07rX8UzKgoaN6a4w", "img": "http://dev.heka4.site/test/images/jpg/2018112113234603.jpg", "pool_id": 7 } ], "weixin_list": [ { "title": "首页2", "type": 1, "a_id": 87, "advertise_id": "adunit-36562ad138f889d3111", "id": "weixin01" } ], "jili_ad": [ { "title": "激励01", "type": 1, "a_id": 131, "advertise_id": "adunit-dacbec70609be910", "id": "jili01" } ], "zanting": [ { "title": "首页1", "type": 1, "a_id": 86, "advertise_id": "adunit-9b4359ecca63cf7b", "id": "zanting01" } ], "lunbo": [ { "title": "MP链接一", "type": 4, "a_id": 95, "url": "https://mp.weixin.qq.com/s/WSSHkW07rX8UzKgoaN6a4w", "img": "http://dev.heka4.site/test/images/jpg/20181126153335270.jpg", "id": "lunbo01" } ], } }</code></pre> <p>不使用广告池</p> <pre><code>{ "state": true, "msg": "当前app广告池无数据", "code": 1, "data": { "use_pool": false } }</code></pre> <p><strong>返回参数说明</strong> </p> <ul> <li> <p>暂无</p> <p><strong>备注</strong> </p> </li> <li>暂无</li> </ul>

页面列表

ITEM_HTML