API / 用户收藏 / 代理


32、跟单: 空位提醒

<ul> <li>订阅跟单空位提醒</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>http://api.com/api/follow/follower/subscribe</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;">traderId</td> <td style="text-align: left;">Y</td> <td style="text-align: left;">long</td> <td>交易员id: 891735709705453568</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code>{ &amp;quot;code&amp;quot;: 200, &amp;quot;message&amp;quot;: &amp;quot;&amp;quot; }</code></pre> <ul> <li>取消订阅跟单空位提醒</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>http://api.com/api/follow/follower/subscribe/cancel</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;">traderId</td> <td style="text-align: left;">Y</td> <td style="text-align: left;">long</td> <td>交易员id: 891735709705453568</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code>{ &amp;quot;code&amp;quot;: 200, &amp;quot;message&amp;quot;: &amp;quot;&amp;quot; }</code></pre> <ul> <li>交易员列表增加字段</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>http://api.com/api/follow/trader/list</code> </li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>GET</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;">traderId</td> <td style="text-align: left;">Y</td> <td style="text-align: left;">long</td> <td>交易员id: 891735709705453568</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code>{ &amp;quot;total&amp;quot;: &amp;quot;1&amp;quot;, &amp;quot;code&amp;quot;: 200, &amp;quot;data&amp;quot;: [ { &amp;quot;avatar&amp;quot;: null, &amp;quot;brand&amp;quot;: &amp;quot;HB&amp;quot;, &amp;quot;currency&amp;quot;: &amp;quot;USDT&amp;quot;, &amp;quot;days&amp;quot;: 14, &amp;quot;follow&amp;quot;: false, &amp;quot;followMax&amp;quot;: 50, &amp;quot;followOpenMax&amp;quot;: 50, &amp;quot;followTeamMax&amp;quot;: 0, &amp;quot;follower&amp;quot;: 3, &amp;quot;history&amp;quot;: 3, &amp;quot;idearTag&amp;quot;: null, &amp;quot;idearTags&amp;quot;: [], &amp;quot;income&amp;quot;: -0.32226540, &amp;quot;incomeRate&amp;quot;: -2.93, &amp;quot;lively&amp;quot;: true, &amp;quot;mCount&amp;quot;: 2, &amp;quot;mDefeat&amp;quot;: 50.00, &amp;quot;mDraw&amp;quot;: 100.00, &amp;quot;mIncome&amp;quot;: -0.29093340, &amp;quot;mMargin&amp;quot;: 66.00000000, &amp;quot;mRate&amp;quot;: -0.53, &amp;quot;margin&amp;quot;: 11.00000000, &amp;quot;money&amp;quot;: 0.60211816, &amp;quot;nickname&amp;quot;: &amp;quot;LALAMOVE&amp;quot;, &amp;quot;online&amp;quot;: true, &amp;quot;openFollower&amp;quot;: 3, &amp;quot;profit&amp;quot;: 0.00000000, &amp;quot;profitRate&amp;quot;: 0.00, &amp;quot;registerTime&amp;quot;: 1690535961000, &amp;quot;selectedRegion&amp;quot;: null, &amp;quot;shares&amp;quot;: [], &amp;quot;styleTag&amp;quot;: null, &amp;quot;styleTags&amp;quot;: [], &amp;quot;subscribe&amp;quot;: true, &amp;quot;teamFollower&amp;quot;: 0, &amp;quot;traderRatio&amp;quot;: 0.08, &amp;quot;type&amp;quot;: 2, &amp;quot;userId&amp;quot;: &amp;quot;891735709705453568&amp;quot;, &amp;quot;username&amp;quot;: &amp;quot;lucky003&amp;quot;, &amp;quot;wMoney&amp;quot;: null } ], &amp;quot;size&amp;quot;: 10, &amp;quot;page&amp;quot;: 1, &amp;quot;message&amp;quot;: &amp;quot;&amp;quot; }</code></pre> <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;">subscribe</td> <td style="text-align: left;">boolean</td> <td>是否订阅跟单空位提醒: false</td> </tr> </tbody> </table> <ul> <li>用户站内消息-跟单提醒消息类型</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>http://api.com/api/home/kefu.htm</code> </li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>GET</li> </ul> <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;">type</td> <td style="text-align: left;">int</td> <td>0: 普通站内消息, 1: 跟单提醒消息</td> </tr> </tbody> </table>

页面列表

ITEM_HTML