API

凤凰投注开放其他


获取单个活动详情

<p><strong>简要描述:</strong></p> <ul> <li>获取单个活动详情</li> </ul> <p><strong>请求URL:</strong></p> <ul> <li><code>http://xxx.xxx.com/Promotion/getPromotionById</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>POST Content-Type: application/json;charset=utf-8</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;">id</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>活动ID 从列表接口获得</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code>{ "id": "7", // 活动id "title": "asdasdasd", // 活动标题 "intro": "asdasd按时大苏打", // 活动简介 "description": "撒大苏打撒旦", // 活动详细描述 "display_start": "1527736854", // 活动开始时间 "display_end": "1528341656", // 活动结束时间 "status": "0", // 活动状态 (暂时无用) "pc_titleImg": "asdasd", // PC版列表页图片路径 "wap_titleImg": "asdasd", // 移动端列表页图片路径 "pc_bgimg": "asdasd", // PC版本活动背景图片 "wap_bgimg": "asdasd", // 移动端活动背景图片 "pc_display": "1", // PC版本展示 1 : 0 "wap_display": "1", // 移动端本是否展示 1 : 0 "route_path": "asdasd", // 活动自定义路由 "ptype": "0", // 活动类型 0:仅展示 1:自定义 3:轮盘 4:签到 "production_display": "1" // 是否发布在正式站 (方便测试时使用) 1 是 0 否 }</code></pre>

页面列表

ITEM_HTML