扫码进入
<h5>参数</h5>
<ul>
<li>同 权限 参数</li>
</ul>
<h5>返回示例</h5>
<pre><code> 离职
{
"code": 4444,
"message": "您已离职,无权访问",
"result": null
}
或 未绑定设备
{
"code": 2002,
"message": "未绑定设备,去添加页面(技师)",
"result": {
"code": "3228",
"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": 12,
"type": 1,
"add_time": 1673247147,
"customer": {
"cu_id": 12,
"cu_bm": "GYT-3",
"cu_name": "国医通社区医院",
"abbreviation": "国医通社区医院",
"cu_address": "北京市通州区嘉创路10号院1号楼503",
"shengfen": "2",
"chengshi": "37",
"quxian": "413",
"fgcs_id": "",
"region": {
"region_id": 2,
"parent_id": 1,
"region_name": "北京",
"region_type": 1
},
"region1": {
"region_id": 37,
"parent_id": 2,
"region_name": "北京市",
"region_type": 2
},
"region2": {
"region_id": 413,
"parent_id": 37,
"region_name": "通州区",
"region_type": 3
}
}
}
]
}
}
}
或 非本院设备
{
"code": 4005,
"message": "您好,非本院设备,无权访问",
"result": null
}
或 (已绑定设备 result中code是设备二维码)
{
"code": 2000,
"message": "调用技师相关接口",
"result": {
"code": "3028"
}
}</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.user_customer.customer.cu_name</td>
<td style="text-align: left;">string</td>
<td>所属医院</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>
<p>未绑定设备时,去绑定设备页面,二维码,所属医院写死,不可编辑</p>
</li>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>