24、交易员: 发起申请/申请记录/上传申请图片/上传头像/修改昵称头像/交易员详情
<ul>
<li>交易员-申请</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>https://api.com/api/follow/trader/apply</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;">nickname</td>
<td style="text-align: left;">Y</td>
<td style="text-align: left;">string</td>
<td>交易员昵称</td>
</tr>
<tr>
<td style="text-align: left;">avatar</td>
<td style="text-align: left;">N</td>
<td style="text-align: left;">string</td>
<td>头像图片地址</td>
</tr>
<tr>
<td style="text-align: left;">contact</td>
<td style="text-align: left;">Y</td>
<td style="text-align: left;">string</td>
<td>联系方式</td>
</tr>
<tr>
<td style="text-align: left;">info</td>
<td style="text-align: left;">Y</td>
<td style="text-align: left;">string</td>
<td>自我介绍</td>
</tr>
<tr>
<td style="text-align: left;">imgUrl</td>
<td style="text-align: left;">N</td>
<td style="text-align: left;">string</td>
<td>图片地址,多个地址用逗号 [,]分割</td>
</tr>
<tr>
<td style="text-align: left;">figure</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;message&quot;: &quot;&quot;
}</code></pre>
<ul>
<li>交易员-申请修改昵称/头像</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>https://api.com/api/follow/trader/apply/update</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;">nickname</td>
<td style="text-align: left;">N</td>
<td style="text-align: left;">string</td>
<td>交易员昵称</td>
</tr>
<tr>
<td style="text-align: left;">avatar</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;message&quot;: &quot;&quot;
}</code></pre>
<ul>
<li>交易员-申请注销</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>https://api.com/api/follow/trader/apply/cancel</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST</li>
</ul>
<p><strong>参数:</strong>
无</p>
<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>https://api.com/api/follow/trader/apply/status</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST</li>
</ul>
<p><strong>参数:</strong> </p>
<p><strong>返回示例</strong></p>
<pre><code>{
&quot;code&quot;: 200,
&quot;data&quot;: {
&quot;brand&quot;: &quot;HB&quot;,
&quot;contact&quot;: &quot;dsds@gmail.com&quot;,
&quot;createTime&quot;: 1687492123000,
&quot;id&quot;: &quot;878968929681555456&quot;,
&quot;imgUrl&quot;: null,
&quot;info&quot;: &quot;我要成为交易员&quot;,
&quot;nickname&quot;: &quot;sd&quot;,
&quot;status&quot;: 0,
&quot;updateTime&quot;: null,
&quot;userId&quot;: &quot;831109056822657024&quot;,
&quot;username&quot;: &quot;新代理1&quot;
},
&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;">contact</td>
<td style="text-align: left;">string</td>
<td>联系方式</td>
</tr>
<tr>
<td style="text-align: left;">info</td>
<td style="text-align: left;">striing</td>
<td>自我介绍</td>
</tr>
<tr>
<td style="text-align: left;">imgUrl</td>
<td style="text-align: left;">striing</td>
<td>图片地址,多个地址都好分隔</td>
</tr>
<tr>
<td style="text-align: left;">status</td>
<td style="text-align: left;">int</td>
<td>审核状态,NONE(-1,"未申请") ,WAIT(0, "审核中"), SUCCESS(1, "已通过"), REJECT(2, "已拒绝");</td>
</tr>
<tr>
<td style="text-align: left;">username</td>
<td style="text-align: left;">striing</td>
<td>用户名称</td>
</tr>
<tr>
<td style="text-align: left;">nickname</td>
<td style="text-align: left;">striing</td>
<td>交易员昵称</td>
</tr>
<tr>
<td style="text-align: left;">userId</td>
<td style="text-align: left;">striing</td>
<td>用户ID</td>
</tr>
<tr>
<td style="text-align: left;">remark</td>
<td style="text-align: left;">striing</td>
<td>审核说明</td>
</tr>
<tr>
<td style="text-align: left;">createTime</td>
<td style="text-align: left;">number</td>
<td>申请时间</td>
</tr>
</tbody>
</table>
<ul>
<li>交易员-上传申请图片/头像</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>https://api.com/api/follow/trader/apply/upload</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;">images</td>
<td style="text-align: left;">Y</td>
<td style="text-align: left;">file</td>
<td>图片文件</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
&quot;code&quot;: 200,
&quot;data&quot;:[
&quot;imgUrl&quot;,&quot;imgUrl&quot;
]
&quot;message&quot;: &quot;&quot;
}</code></pre>
<ul>
<li>交易员-详情</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>https://api.com/api/follow/trader/detail</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST</li>
</ul>
<table>
<thead>
<tr>
<th style="text-align: left;"><strong>参数:</strong></th>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th>类型</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;">string</td>
<td>交易员ID</td>
</tr>
<tr>
<td style="text-align: left;">currency</td>
<td style="text-align: left;">Y</td>
<td style="text-align: left;">string</td>
<td>品牌默认币种</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
&quot;code&quot;: 200,
&quot;message&quot;: &quot;&quot;,
&quot;data&quot;: {
&quot;userId&quot;: &quot;749956119120347136&quot;,
&quot;username&quot;: &quot;新代理总&quot;,
&quot;type&quot;: 1,
&quot;registerTime&quot;: 1656733072000,
&quot;selectedRegion&quot;: null,
&quot;avatar&quot;: &quot;https://xkavator.s3.ap-east-1.amazonaws.com/avatar/@HB@20230419132826_254.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&amp;X-Amz-Date=20230419T052826Z&amp;X-Amz-SignedHeaders=host&amp;X-Amz-Expires=86399&amp;X-Amz-Credential=AKIAYUX6J4747BI7PEEG%2F20230419%2Fap-east-1%2Fs3%2Faws4_request&amp;X-Amz-Signature=28286c6002d4ae5eea01414a7e191b2ec7f621e69230460236fecf9630249c0f&quot;,
&quot;styleTag&quot;: null,
&quot;idearTag&quot;: null,
&quot;styleTags&quot;: [],
&quot;idearTags&quot;: [],
&quot;lively&quot;: null,
&quot;currency&quot;: null,
&quot;traderRatio&quot;: null,
&quot;money&quot;: null,
&quot;margin&quot;: null,
&quot;income&quot;: null,
&quot;incomeRate&quot;: 0,
&quot;profit&quot;: null,
&quot;profitRate&quot;: 0,
&quot;followMax&quot;: 0,
&quot;followTeamMax&quot;: 0,
&quot;followOpenMax&quot;: 0,
&quot;follower&quot;: 0,
&quot;teamFollower&quot;: 0,
&quot;openFollower&quot;: 0,
&quot;history&quot;: 0,
&quot;days&quot;: 366,
&quot;follow&quot;: false,
&quot;shares&quot;: [
{
&quot;date&quot;: &quot;2023-06-26&quot;,
&quot;currency&quot;: null,
&quot;money&quot;: 0
},
{
&quot;date&quot;: &quot;2023-06-27&quot;,
&quot;currency&quot;: null,
&quot;money&quot;: 0
},
{
&quot;date&quot;: &quot;2023-06-28&quot;,
&quot;currency&quot;: null,
&quot;money&quot;: 0
},
{
&quot;date&quot;: &quot;2023-06-29&quot;,
&quot;currency&quot;: null,
&quot;money&quot;: 0
},
{
&quot;date&quot;: &quot;2023-06-30&quot;,
&quot;currency&quot;: null,
&quot;money&quot;: 0
},
{
&quot;date&quot;: &quot;2023-07-01&quot;,
&quot;currency&quot;: null,
&quot;money&quot;: 0
},
{
&quot;date&quot;: &quot;2023-07-02&quot;,
&quot;currency&quot;: null,
&quot;money&quot;: 0
}
],
&quot;brand&quot;: null,
&quot;mdraw&quot;: 0,
&quot;mdefeat&quot;: 0,
&quot;mcount&quot;: 0,
&quot;wmoney&quot;: null,
&quot;mmargin&quot;: null,
&quot;mincome&quot;: null,
&quot;mrate&quot;: 0,
&quot;figure&quot; &quot;https://xkavator.s3.ap-east-1.amazonaws.com/avatar/@HB@20230419132826_254.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&amp;X-Amz-Date=20230419T052826Z&amp;X-Amz-SignedHeaders=host&amp;X-Amz-Expires=86399&amp;X-Amz-Credential=AKIAYUX6J4747BI7PEEG%2F20230419%2Fap-east-1%2Fs3%2Faws4_request&amp;X-Amz-Signature=28286c6002d4ae5eea01414a7e191b2ec7f621e69230460236fecf9630249c0f&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;">traderRatio</td>
<td style="text-align: left;">number</td>
<td>交易员分成比例</td>
</tr>
<tr>
<td style="text-align: left;">username</td>
<td style="text-align: left;">string</td>
<td>用户昵称</td>
</tr>
<tr>
<td style="text-align: left;">avatar</td>
<td style="text-align: left;">string</td>
<td>交易员头像</td>
</tr>
<tr>
<td style="text-align: left;">mIncome</td>
<td style="text-align: left;">number</td>
<td>交易员月收益</td>
</tr>
<tr>
<td style="text-align: left;">mRate</td>
<td style="text-align: left;">number</td>
<td>交易员月收益率</td>
</tr>
<tr>
<td style="text-align: left;">income</td>
<td style="text-align: left;">number</td>
<td>交易员累计收益</td>
</tr>
<tr>
<td style="text-align: left;">wMoney</td>
<td style="text-align: left;">number</td>
<td>交易员周分成收入</td>
</tr>
<tr>
<td style="text-align: left;">money</td>
<td style="text-align: left;">number</td>
<td>交易员累计分成收入</td>
</tr>
<tr>
<td style="text-align: left;">figure</td>
<td style="text-align: left;">string</td>
<td>形象人物</td>
</tr>
</tbody>
</table>