万游彩票国际版

新项目


获取所有游戏

<p><strong>简要描述:</strong> </p> <ul> <li>获取所有游戏</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>http://xx.com/api/game/games</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 style="text-align: left;">说明</th> <th style="text-align: left;">规则</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">token</td> <td style="text-align: left;">否</td> <td style="text-align: left;">string</td> <td style="text-align: left;">Token由登录接口返回</td> <td style="text-align: left;">/^[a-z0-9]{32}$/</td> </tr> <tr> <td style="text-align: left;">type</td> <td style="text-align: left;">否</td> <td style="text-align: left;">string</td> <td style="text-align: left;">类型,0-彩票,1-第三方游戏,不传即默认-1(全部)</td> <td style="text-align: left;">/^([0-1])?$/</td> </tr> </tbody> </table> <p><strong>返回参数:</strong> </p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">result</td> <td style="text-align: left;">boolean</td> <td>请求结果,true:成功;false:失败</td> </tr> <tr> <td style="text-align: left;">message</td> <td style="text-align: left;">string</td> <td>提示语</td> </tr> <tr> <td style="text-align: left;">game_code</td> <td style="text-align: left;">string</td> <td>游戏代码</td> </tr> <tr> <td style="text-align: left;">name</td> <td style="text-align: left;">string</td> <td>游戏名称</td> </tr> <tr> <td style="text-align: left;">position</td> <td style="text-align: left;">string</td> <td>盘口(只有彩票有此参数),0-官方盘,1-信用盘,2-Both</td> </tr> <tr> <td style="text-align: left;">is_low_frequency</td> <td style="text-align: left;">string</td> <td>是否是低频彩,0-否,1-是</td> </tr> <tr> <td style="text-align: left;">remark</td> <td style="text-align: left;">string</td> <td>彩种开奖周期描述,后台可以控制,香港六合彩是下期开奖时间,后台不可控制,直接读取六合彩开奖表里数据</td> </tr> <tr> <td style="text-align: left;">icon_2x</td> <td style="text-align: left;">string</td> <td>彩种图标</td> </tr> <tr> <td style="text-align: left;">icon_3x</td> <td style="text-align: left;">string</td> <td>彩种图标</td> </tr> <tr> <td style="text-align: left;">icon_4x</td> <td style="text-align: left;">string</td> <td>新增彩种图标</td> </tr> <tr> <td style="text-align: left;">is_open</td> <td style="text-align: left;">string</td> <td>开/封盘, 0-已封盘,1-已开盘</td> </tr> <tr> <td style="text-align: left;">pc_sideways</td> <td style="text-align: left;">string</td> <td>pc短图标</td> </tr> <tr> <td style="text-align: left;">pc_sideways</td> <td style="text-align: left;">string</td> <td>pc短图标</td> </tr> <tr> <td style="text-align: left;">maintenance</td> <td style="text-align: left;">string</td> <td>维护状态:0-未维护,1-维护中</td> </tr> <tr> <td style="text-align: left;">online_users</td> <td style="text-align: left;">string</td> <td>在线人数</td> </tr> <tr> <td style="text-align: left;">third_party_games.sx</td> <td style="text-align: left;">string</td> <td>游戏分类,sx-真人视讯类</td> </tr> <tr> <td style="text-align: left;">third_party_games.qp</td> <td style="text-align: left;">string</td> <td>游戏分类,qp-棋牌游戏类</td> </tr> <tr> <td style="text-align: left;">third_party_games.qp</td> <td style="text-align: left;">string</td> <td>游戏分类,ty-体育游戏类</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code>{ "result": false, "message": "出错了 , 请联系客服 !(597)", "error_no": "0" }</code></pre> <pre><code>{ "result": true, "message": "", "data": { "games": { "official": { "name": "官方玩法", "includes": [ { "game_id": "1", "name": "重庆时时彩", "type": "ssc", "game_code": "cqssc", "position": "0", "is_low_frequency": "0", "remark": "每10分钟一期", "icon_2x": "http://vm.lottery.com/images/game_icons/2x/cqssc.png", "icon_3x": "http://vm.lottery.com/images/game_icons/3x/cqssc.png", "icon_4x": "http://vm.lottery.com/images/game_icons/4x/cqssc.png", "is_open": 1 }, { "game_id": "3", "name": "北京赛车", "type": "pk10", "game_code": "bjpk10", "position": "0", "is_low_frequency": "0", "remark": "每5分钟一期", "icon_2x": "http://vm.lottery.com/images/game_icons/2x/bjpk10.png", "icon_3x": "http://vm.lottery.com/images/game_icons/3x/bjpk10.png", "icon_4x": "http://vm.lottery.com/images/game_icons/4x/bjpk10.png", "is_open": 1 }, { "game_id": "2", "name": "北京快乐8", "type": "kl8", "game_code": "bjkl8", "position": "0", "is_low_frequency": "0", "remark": "每5分钟一期", "icon_2x": "http://vm.lottery.com/images/game_icons/2x/bjkl8.png", "icon_3x": "http://vm.lottery.com/images/game_icons/3x/bjkl8.png", "icon_4x": "http://vm.lottery.com/images/game_icons/4x/bjkl8.png", "is_open": 1 }, { "game_id": "4", "name": "广东11选5", "type": "syxw", "game_code": "gdsyxw", "position": "0", "is_low_frequency": "0", "remark": "", "icon_2x": "http://vm.lottery.com/images/game_icons/2x/gdsyxw.png", "icon_3x": "http://vm.lottery.com/images/game_icons/3x/gdsyxw.png", "icon_4x": "http://vm.lottery.com/images/game_icons/4x/gdsyxw.png", "is_open": 1 }, { "game_id": "5", "name": "重庆幸运农场", "type": "xync", "game_code": "cqxync", "position": "0", "is_low_frequency": "0", "remark": "每10分钟一期", "icon_2x": "http://vm.lottery.com/images/game_icons/2x/cqxync.png", "icon_3x": "http://vm.lottery.com/images/game_icons/3x/cqxync.png", "icon_4x": "http://vm.lottery.com/images/game_icons/4x/cqxync.png", "is_open": 1 }, { "game_id": "7", "name": "福彩3D", "type": "three", "game_code": "fc3d", "position": "0", "is_low_frequency": "1", "remark": "每天一期", "icon_2x": "http://vm.lottery.com/images/game_icons/2x/fc3d.png", "icon_3x": "http://vm.lottery.com/images/game_icons/3x/fc3d.png", "icon_4x": "http://vm.lottery.com/images/game_icons/4x/fc3d.png", "is_open": 1 }, { "game_id": "6", "name": "江苏快三", "type": "k3", "game_code": "jsk3", "position": "0", "is_low_frequency": "0", "remark": "每10分钟一期", "icon_2x": "http://vm.lottery.com/images/game_icons/2x/jsk3.png", "icon_3x": "http://vm.lottery.com/images/game_icons/3x/jsk3.png", "icon_4x": "http://vm.lottery.com/images/game_icons/4x/jsk3.png", "is_open": 1 }, { "game_id": "8", "name": "香港六合彩", "type": "six", "game_code": "hksix", "position": "1", "is_low_frequency": "1", "remark": "2019-01-08 21:30:00", "icon_2x": "http://vm.lottery.com/images/game_icons/2x/hksix.png", "icon_3x": "http://vm.lottery.com/images/game_icons/3x/hksix.png", "icon_4x": "http://vm.lottery.com/images/game_icons/4x/hksix.png", "is_open": 1 }, { "game_id": "9", "name": "PC蛋蛋", "type": "lucky28", "game_code": "pcdd", "position": "1", "is_low_frequency": "0", "remark": "每5分钟一期", "icon_2x": "http://vm.lottery.com/images/game_icons/2x/pcdd.png", "icon_3x": "http://vm.lottery.com/images/game_icons/3x/pcdd.png", "icon_4x": "http://vm.lottery.com/images/game_icons/4x/pcdd.png", "is_open": 1 }, { "game_id": "12", "name": "幸运飞艇", "type": "pk10", "game_code": "xyft", "position": "0", "is_low_frequency": "0", "remark": "每5分钟一期", "icon_2x": "http://vm.lottery.com/images/game_icons/2x/xyft.png", "icon_3x": "http://vm.lottery.com/images/game_icons/3x/xyft.png", "icon_4x": "http://vm.lottery.com/images/game_icons/4x/xyft.png", "is_open": 1 }, { "game_id": "11", "name": "吉林快三", "type": "k3", "game_code": "jlk3", "position": "0", "is_low_frequency": "0", "remark": "测试添加吉林快三", "icon_2x": "http://vm.lottery.com/images/game_icons/2x/jlk3.png", "icon_3x": "http://vm.lottery.com/images/game_icons/3x/jlk3.png", "icon_4x": "http://vm.lottery.com/images/game_icons/4x/jlk3.png", "is_open": 0 }, { "game_id": "13", "name": "新疆时时彩", "type": "ssc", "game_code": "xjssc", "position": "0", "is_low_frequency": "0", "remark": "每10分钟一期", "icon_2x": "http://vm.lottery.com/images/game_icons/2x/xjssc.png", "icon_3x": "http://vm.lottery.com/images/game_icons/3x/xjssc.png", "icon_4x": "http://vm.lottery.com/images/game_icons/4x/xjssc.png", "is_open": 1 }, { "game_id": "14", "name": "湖北快三", "type": "k3", "game_code": "hbk3", "position": "0", "is_low_frequency": "0", "remark": "每10分钟一期", "icon_2x": "http://vm.lottery.com/images/game_icons/2x/hbk3.png", "icon_3x": "http://vm.lottery.com/images/game_icons/3x/hbk3.png", "icon_4x": "http://vm.lottery.com/images/game_icons/4x/hbk3.png", "is_open": 1 }, { "game_id": "15", "name": "体彩排列三", "type": "three", "game_code": "pl3", "position": "0", "is_low_frequency": "0", "remark": "每天一期", "icon_2x": "http://vm.lottery.com/images/game_icons/2x/pl3.png", "icon_3x": "http://vm.lottery.com/images/game_icons/3x/pl3.png", "icon_4x": "http://vm.lottery.com/images/game_icons/4x/pl3.png", "is_open": 1 } ] }, "credit": { "name": "信用玩法", "includes": [] }, "third_party_games": { "name": "第三方游戏", "includes": [ { "name": "真人视讯", "type": "sx", "game_code": "ag", "online_users": "2639", "remark": "真人视讯", "icon_3x": "https://www.cdn3721.com/dev/201903/zrsx@3x.png", "maintenance": 0, "icon_4x": "https://www.cdn3721.com/dev/201904/zrsx-wap.png", "pc_sideways": "https://www.cdn3721.com/dev/201904/agsx.png", "pc_icon": "https://www.cdn3721.com/dev/201904/pcagsx.png" }, { "name": "恒达棋牌", "type": "qp", "game_code": "lyqp", "online_users": "500", "remark": "乐游棋牌在本站改名为恒达棋牌", "icon_3x": "https://www.cdn3721.com/dev/201909/hdqp@3x.png", "maintenance": 0, "icon_4x": "https://www.cdn3721.com/dev/201904/hdqp-wap.png", "pc_sideways": "https://www.cdn3721.com/dev/201909/hdqp-pc.png", "pc_icon": "https://www.cdn3721.com/dev/201909/hdqp-pc.png" }, { "name": "恒达体育", "type": "ty", "game_code": "wyty", "online_users": "1978", "remark": "体育2.0", "icon_3x": "https://www.cdn3721.com/dev/201909/zrsx@3x.png", "maintenance": 0, "icon_4x": "https://www.cdn3721.com/dev/201904/zrsx-wap.png", "pc_sideways": "https://www.cdn3721.com/dev/201904/agsx.png", "pc_icon": "https://www.cdn3721.com/dev/201904/pcagsx.png" } ], "categories": { "sx": [ { "name": "真人视讯", "type": "sx", "game_code": "ag", "online_users": "2639", "remark": "真人视讯", "icon_3x": "https://www.cdn3721.com/dev/201903/zrsx@3x.png", "maintenance": 0, "icon_4x": "https://www.cdn3721.com/dev/201904/zrsx-wap.png", "pc_sideways": "https://www.cdn3721.com/dev/201904/agsx.png", "pc_icon": "https://www.cdn3721.com/dev/201904/pcagsx.png" } ], "qp": [ { "name": "恒达棋牌", "type": "qp", "game_code": "lyqp", "online_users": "500", "remark": "乐游棋牌在本站改名为恒达棋牌", "icon_3x": "https://www.cdn3721.com/dev/201909/hdqp@3x.png", "maintenance": 0, "icon_4x": "https://www.cdn3721.com/dev/201904/hdqp-wap.png", "pc_sideways": "https://www.cdn3721.com/dev/201909/hdqp-pc.png", "pc_icon": "https://www.cdn3721.com/dev/201909/hdqp-pc.png" } ], "ty": [ { "name": "恒达体育", "type": "ty", "game_code": "wyty", "online_users": "1978", "remark": "体育2.0", "icon_3x": "https://www.cdn3721.com/dev/201909/zrsx@3x.png", "maintenance": 0, "icon_4x": "https://www.cdn3721.com/dev/201904/zrsx-wap.png", "pc_sideways": "https://www.cdn3721.com/dev/201904/agsx.png", "pc_icon": "https://www.cdn3721.com/dev/201904/pcagsx.png" } ] }, "sx": [ { "name": "真人视讯", "type": "sx", "game_code": "ag", "online_users": "2639", "remark": "真人视讯", "icon_3x": "https://www.cdn3721.com/dev/201903/zrsx@3x.png", "maintenance": 0, "icon_4x": "https://www.cdn3721.com/dev/201904/zrsx-wap.png", "pc_sideways": "https://www.cdn3721.com/dev/201904/agsx.png", "pc_icon": "https://www.cdn3721.com/dev/201904/pcagsx.png" } ], "qp": [ { "name": "恒达棋牌", "type": "qp", "game_code": "lyqp", "online_users": "500", "remark": "乐游棋牌在本站改名为恒达棋牌", "icon_3x": "https://www.cdn3721.com/dev/201909/hdqp@3x.png", "maintenance": 0, "icon_4x": "https://www.cdn3721.com/dev/201904/hdqp-wap.png", "pc_sideways": "https://www.cdn3721.com/dev/201909/hdqp-pc.png", "pc_icon": "https://www.cdn3721.com/dev/201909/hdqp-pc.png" } ], "ty": [ { "name": "恒达体育", "type": "ty", "game_code": "wyty", "online_users": "1978", "remark": "体育2.0", "icon_3x": "https://www.cdn3721.com/dev/201909/zrsx@3x.png", "maintenance": 0, "icon_4x": "https://www.cdn3721.com/dev/201904/zrsx-wap.png", "pc_sideways": "https://www.cdn3721.com/dev/201904/agsx.png", "pc_icon": "https://www.cdn3721.com/dev/201904/pcagsx.png" } ] } } }, "error_no": "0" }</code></pre> <p><strong>备注</strong> </p> <ul> <li>暂无</li> </ul>

页面列表

ITEM_HTML