39、代理:代理申请、代理详情、代理审核
<ul>
<li>代理申请</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://api.com/api/agent/apply</code> </li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>
<p>POST</p>
<p><strong>请求参数说明</strong> </p>
</li>
</ul>
<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;">content</td>
<td style="text-align: left;">string</td>
<td>自我介绍</td>
</tr>
<tr>
<td style="text-align: left;">figure</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;: null,
&quot;message&quot;: &quot;&quot;
}</code></pre>
<ul>
<li>代理详情</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://api.com/api/agent/apply/status</code> </li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>
<p>GET</p>
<p><strong>返回示例</strong></p>
<pre><code>{
&quot;code&quot;: 200,
&quot;message&quot;: &quot;&quot;,
&quot;data&quot;: {
&quot;figure&quot;: &quot;https://wwww.sdsdsd/1.png&quot;,
&quot;status&quot;: 1
}
}</code></pre>
<p><strong>返回参数说明</strong> </p>
</li>
</ul>
<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;">status</td>
<td style="text-align: left;">int</td>
<td>状态:0-审核中;1-已通过;2-已拒绝</td>
</tr>
<tr>
<td style="text-align: left;">figure</td>
<td style="text-align: left;">string</td>
<td>形象</td>
</tr>
</tbody>
</table>
<ul>
<li>代理审核</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://api.com/admin/agent/audit</code> </li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>
<p>POST</p>
<p><strong>请求参数说明</strong> </p>
</li>
</ul>
<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;">id</td>
<td style="text-align: left;">long</td>
<td>申请记录id</td>
</tr>
<tr>
<td style="text-align: left;">status</td>
<td style="text-align: left;">int</td>
<td>状态:1-通过;2-拒绝</td>
</tr>
<tr>
<td style="text-align: left;">rate</td>
<td style="text-align: left;">decimal</td>
<td>分成比例</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
&quot;code&quot;: 200,
&quot;data&quot;: null,
&quot;message&quot;: &quot;&quot;
}</code></pre>