公众号进入
<h5>参数</h5>
<ul>
<li>同 权限 参数
<h5>返回示例</h5></li>
</ul>
<pre><code>离职
{
"code": 4444,
"message": "您已离职,无权访问",
"result": null
}
数据中心
{
"code": 4005,
"message": "您没有权限访问,请联系管理员",
"result": null
}
水机管理(存在设备)
{
"code": 2002,
"message": "调用技师相关接口",
"result": {
"code": "3028"
}
}
水机管理(设备不存在)
{
"code": 2000,
"message": "设备不存在,显示空白",
"result": {
"user": {
"user_id": 77,
"username": "王宗鑫",
"password": "22a00b5315bda8091f6367c852435587",
"phone": "17860549737",
"email": "41241241241@qq.com",
"sex": "男",
"role_id": 5,
"open_id": "oT-EX6nmunsdC5nLQ5RrRvDil3B4",
"start": 2,
"zhiwei": "",
"company": "哈哈哈哈哈",
"addtime": "1671441457",
"wxnotice_status": 1,
"role": {
"role_id": 5,
"role_name": "技师"
},
"cu_id": null,
"user_customer": [
{
"id": 87,
"u_id": 77,
"cu_id": 1233,
"type": 1,
"add_time": 1673247147,
"customer": null
}
]
}
}
}
</code></pre>
<h5>返回参数说明</h5>
<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;">code</td>
<td style="text-align: left;">string</td>
<td>result中的code,设备二维码</td>
</tr>
<tr>
<td style="text-align: left;">user.username</td>
<td style="text-align: left;">string</td>
<td>姓名</td>
</tr>
<tr>
<td style="text-align: left;">phone</td>
<td style="text-align: left;">string</td>
<td>手机号</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>