使用微信验证码登陆
<p><strong>简要描述:</strong> </p>
<ul>
<li>使用微信验证码登陆</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>/customer/login_by_wechat_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;">contact</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>用户名,手机号,密码</td>
</tr>
<tr>
<td style="text-align: left;">code</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>验证码</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code> {
"__type": "result",
"state": "ok",
"msg": "登录成功",
"data": {
"token": "76A1860C9EDA10DD9D71E99D3C2F55",
"account": {
"account_id": "177",
"name": "88888",
"phone": null,
"notice": "",
"balance": "425.47",
"special_balance": "0.26",
"report_balance": "0.00",
"status": "1",
"last_login_at": "1542351789"
}
},
"time": 1542351789
}</code></pre>
<p><strong>返回参数说明</strong> </p>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>