DYH云

DYH开放接口


五步法投流 socket

<p>[TOC]</p> <h5>简要描述</h5> <ul> <li>五步法投流 socket</li> </ul> <h5>返回示例</h5> <pre><code> // 千川开关 { " type": "contest/sendQianchuanPlan", "data": { "state": 2, # 1 开 2 关 "type": 2, "consoleId": 105 } } // 千川排序 socket, list格式与列表一致: 列表接口 api/contest.console.console/getAllList { " type": "console/sort", "data": { "list": [...], } } # 发送福袋 socket { "type": "contest/sendFukubukuro", "data": { "winningCount": 2, "count": 21, "prize": "124", "type": 1, "range": 1, "condition": "152", "fukubukuroId": 94 } } # 商品上下架socket { "type": "goods/shelves", "data": { "id": 2, # 列表中的 id "state": 21, # 1 上架 0 下架 } } # 商品排序 socket, list 就是列表接口一致 { " type": "goods/sort", "data": { "list": [...], } } </code></pre>

页面列表

ITEM_HTML