寄存柜鉴权(闪易方调用)
<p><strong>接口说明 </strong></p>
<pre><code>请求接口: /ivm/api/storage/user/auth
请求方式: POST
接口说明: 寄存柜鉴权接口</code></pre>
<p><strong>请求参数 </strong></p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>memberCode</td>
<td>是</td>
<td>string</td>
<td>会员码(会员码和用户手机号二选一必填,有会员码就只查询会员码,不使用手机号查询)</td>
</tr>
<tr>
<td>userPhone</td>
<td>是</td>
<td>string</td>
<td>用户手机号</td>
</tr>
<tr>
<td>snCode</td>
<td>否</td>
<td>string</td>
<td>设备序列号(以下参数仅记录用)</td>
</tr>
<tr>
<td>channel</td>
<td>否</td>
<td>string</td>
<td>柜门号</td>
</tr>
<tr>
<td>lightId</td>
<td>否</td>
<td>string</td>
<td>光ID</td>
</tr>
<tr>
<td>operation</td>
<td>否</td>
<td>int</td>
<td>0未知,1存,2取</td>
</tr>
</tbody>
</table>
<p><strong>返回参数</strong></p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>code</td>
<td>string</td>
<td>状态值</td>
</tr>
<tr>
<td>msg</td>
<td>string</td>
<td>返回消息</td>
</tr>
<tr>
<td>data</td>
<td>data</td>
<td>返回数据</td>
</tr>
<tr>
<td>userPhone</td>
<td>string</td>
<td>用户手机号</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
"code": "0000",
"msg": "操作成功!",
"data":{
"auth": "success",
"userPhone": "12345678978"
}
}</code></pre>
<p><strong>错误码</strong>
非 0000 字符串都是认证失败</p>
<table>
<thead>
<tr>
<th>错误码</th>
<th>错误说明</th>
</tr>
</thead>
<tbody>
</tbody>
</table>