大学长

大学长接口


王陆军-广告位获取-2018-7-7

<p><strong>简要描述:</strong> </p> <ul> <li>广告位获取 <strong>变更履历</strong></li> </ul> <table> <thead> <tr> <th style="text-align: left;">版本号</th> <th style="text-align: left;">说明</th> <th style="text-align: left;">变更者</th> <th style="text-align: left;">日期</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">0.1</td> <td style="text-align: left;">新</td> <td style="text-align: left;">王陆军</td> <td style="text-align: left;">20180707</td> </tr> </tbody> </table> <p><strong>请求URL:</strong> </p> <ul> <li>` <a href="http://123.206.94.205:8080/web-api/advertising/templist">http://123.206.94.205:8080/web-api/advertising/templist</a></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> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code>{ &amp;quot;code&amp;quot;: 200, &amp;quot;message&amp;quot;: &amp;quot;Ok&amp;quot;, &amp;quot;data&amp;quot;: [ { &amp;quot;ads_price&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;width&amp;quot;: 0, &amp;quot;id&amp;quot;: &amp;quot;1&amp;quot;, &amp;quot;temp_name&amp;quot;: &amp;quot;首页顶部活动banner图&amp;quot;, &amp;quot;height&amp;quot;: 0 }, {}, { &amp;quot;width&amp;quot;: 0, &amp;quot;id&amp;quot;: &amp;quot;11&amp;quot;, &amp;quot;temp_name&amp;quot;: &amp;quot;语言达人页顶部左侧banner图&amp;quot;, &amp;quot;height&amp;quot;: 0 }, { &amp;quot;ads_price&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;width&amp;quot;: 0, &amp;quot;id&amp;quot;: &amp;quot;9&amp;quot;, &amp;quot;temp_name&amp;quot;: &amp;quot;公开课页顶部右侧banner图&amp;quot;, &amp;quot;height&amp;quot;: 0 } ] }</code></pre> <p><strong>返回参数说明</strong> </p> <p>|参数名|类型|说明|</p> <pre><code>|参数|类型|描述| |:-------|:-------|:-------| | code | number| 无 | | message | string| 无 | | - data |object | 无 | | ads_price | string| 价格 | | width | number| 宽度 | | id | string| 广告位ID| | temp_name | string| 广告位名称 | | height | number| 高度| </code></pre> <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> </tr> </thead> <tbody> <tr> <td style="text-align: left;">200</td> <td style="text-align: left;">请求成功</td> <td style="text-align: left;">无</td> </tr> <tr> <td style="text-align: left;">500</td> <td style="text-align: left;">服务器错误成功</td> <td style="text-align: left;">无</td> </tr> </tbody> </table> <p>欢迎使用ShowDoc!</p>

页面列表

ITEM_HTML