1、用户商品收藏/交易员收藏
<p><strong>简要描述:</strong> </p>
<ul>
<li>获取商品收藏列表</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://api.com/api/user/favor/detail</code></li>
<li><code>http://api.com/api/user/favor/symbol/detail</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;">-</td>
<td style="text-align: left;">N</td>
<td style="text-align: left;">string</td>
<td>-</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
&quot;code&quot;: 200,
&quot;data&quot;: [
&quot;BTCUSDT&quot;,
&quot;BTCUSDT_CC&quot;,
&quot;ETHUSDT_CC&quot;,
&quot;Y&quot;
],
&quot;message&quot;: &quot;&quot;
}</code></pre>
<ul>
<li>修改所有商品收藏列表</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://api.com/api/user/favor/symbol/updateAll</code> <code>传所有收藏的商品, 收藏顺序按照传入顺序</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;">symbols</td>
<td style="text-align: left;">Y</td>
<td style="text-align: left;">string</td>
<td>商品code列表 ,如: BTCUSDT,ETHUSDT_CC,Y</td>
</tr>
<tr>
<td style="text-align: left;">delete</td>
<td style="text-align: left;">N</td>
<td style="text-align: left;">boolean</td>
<td>是否删除</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/user/favor/symbol/update</code> <code>传需要收藏的商品, 收藏顺序按照传入顺序</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;">symbols</td>
<td style="text-align: left;">Y</td>
<td style="text-align: left;">string</td>
<td>商品code列表 ,如: BTCUSDT,ETHUSDT_CC,Y</td>
</tr>
<tr>
<td style="text-align: left;">delete</td>
<td style="text-align: left;">N</td>
<td style="text-align: left;">boolean</td>
<td>是否删除</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
&quot;code&quot;: 200,
&quot;message&quot;: &quot;&quot;
}</code></pre>
<p><strong>简要描述:</strong> </p>
<ul>
<li>获取交易员收藏列表</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://api.com/api/user/favor/trader/detail</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;">-</td>
<td style="text-align: left;">N</td>
<td style="text-align: left;">string</td>
<td>-</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
&quot;code&quot;: 200,
&quot;data&quot;: [
&quot;123456&quot;,
&quot;234567&quot;
],
&quot;message&quot;: &quot;&quot;
}</code></pre>
<ul>
<li>修改全部交易员收藏列表</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://api.com/api/user/favor/trader/updateAll</code> <code>传所有收藏的交易员ID, 收藏顺序按照传入顺序</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;">traderIds</td>
<td style="text-align: left;">Y</td>
<td style="text-align: left;">string</td>
<td>交易员ID列表 ,如: 123456,345677</td>
</tr>
<tr>
<td style="text-align: left;">delete</td>
<td style="text-align: left;">N</td>
<td style="text-align: left;">boolean</td>
<td>是否删除</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/user/favor/trader/update</code> <code>传需要收藏的交易员ID, 收藏顺序按照传入顺序</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;">traderIds</td>
<td style="text-align: left;">Y</td>
<td style="text-align: left;">string</td>
<td>交易员ID列表 ,如: 123456,345677</td>
</tr>
<tr>
<td style="text-align: left;">delete</td>
<td style="text-align: left;">N</td>
<td style="text-align: left;">boolean</td>
<td>是否删除</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
&quot;code&quot;: 200,
&quot;message&quot;: &quot;&quot;
}</code></pre>