获取邀请二维码
<p><strong>简要描述:</strong> </p>
<ul>
<li>获取邀请二维码</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://192.168.3.243:86/v1/invite_code?from=1</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;">from</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>1 任务处邀请 2普通邀请</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code> {
"code": 0,
"msg": "",
"time": 1566988071,
"data": {
"url": "http://192.168.3.75/v1/invite?invite_code=asfdasfwersxfsgdafsdaf&from=1",
"qrcode": "http://192.168.3.75/v1/common/qrcode/make?data=http%3A%2F%2F192.168.3.75%2Fv1%2Finvite%3Finvite_code%3Dasfdasfwersxfsgdafsdaf%26from%3D1"
}
}</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;">qrcode</td>
<td style="text-align: left;">int</td>
<td>二维码地址</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>