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>{
&quot;code&quot;: 200,
&quot;message&quot;: &quot;&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>{
&quot;code&quot;: 200,
&quot;message&quot;: &quot;&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>{
&quot;total&quot;: &quot;1&quot;,
&quot;code&quot;: 200,
&quot;data&quot;: [
{
&quot;avatar&quot;: null,
&quot;brand&quot;: &quot;HB&quot;,
&quot;currency&quot;: &quot;USDT&quot;,
&quot;days&quot;: 14,
&quot;follow&quot;: false,
&quot;followMax&quot;: 50,
&quot;followOpenMax&quot;: 50,
&quot;followTeamMax&quot;: 0,
&quot;follower&quot;: 3,
&quot;history&quot;: 3,
&quot;idearTag&quot;: null,
&quot;idearTags&quot;: [],
&quot;income&quot;: -0.32226540,
&quot;incomeRate&quot;: -2.93,
&quot;lively&quot;: true,
&quot;mCount&quot;: 2,
&quot;mDefeat&quot;: 50.00,
&quot;mDraw&quot;: 100.00,
&quot;mIncome&quot;: -0.29093340,
&quot;mMargin&quot;: 66.00000000,
&quot;mRate&quot;: -0.53,
&quot;margin&quot;: 11.00000000,
&quot;money&quot;: 0.60211816,
&quot;nickname&quot;: &quot;LALAMOVE&quot;,
&quot;online&quot;: true,
&quot;openFollower&quot;: 3,
&quot;profit&quot;: 0.00000000,
&quot;profitRate&quot;: 0.00,
&quot;registerTime&quot;: 1690535961000,
&quot;selectedRegion&quot;: null,
&quot;shares&quot;: [],
&quot;styleTag&quot;: null,
&quot;styleTags&quot;: [],
&quot;subscribe&quot;: true,
&quot;teamFollower&quot;: 0,
&quot;traderRatio&quot;: 0.08,
&quot;type&quot;: 2,
&quot;userId&quot;: &quot;891735709705453568&quot;,
&quot;username&quot;: &quot;lucky003&quot;,
&quot;wMoney&quot;: null
}
],
&quot;size&quot;: 10,
&quot;page&quot;: 1,
&quot;message&quot;: &quot;&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>