厂家工程师扫码
<h5>参数</h5>
<ul>
<li>同 权限 参数
<h5>返回示例</h5></li>
</ul>
<pre><code>已经是该医院厂家工程师
{
"code": 2000,
"message": "调用厂家工程师相关接口",
"result": {
"code": "3028",
"user": {
"user_id": 77,
"username": "王宗鑫",
"password": "22a00b5315bda8091f6367c852435587",
"phone": "17860549737",
"email": "41241241241@qq.com",
"sex": "男",
"role_id": 3,
"open_id": "oT-EX6nmunsdC5nLQ5RrRvDil3B4",
"start": 2,
"zhiwei": "",
"company": "哈哈哈哈哈",
"addtime": "1671441457",
"wxnotice_status": 1,
"role": {
"role_id": 3,
"role_name": "厂家工程师"
},
"cu_id": null,
"user_customer": [
{
"id": 91,
"u_id": 77,
"cu_id": 12,
"type": 1,
"add_time": 1643075496,
"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": 2200,
"message": " “ 国医通社区医院 ” 已绑定厂家主工程师,如需使用请提交绑定厂家辅助工程师申请",
"result": {
"user": {
"user_id": 77,
"username": "王宗鑫",
"password": "22a00b5315bda8091f6367c852435587",
"phone": "17860549737",
"email": "41241241241@qq.com",
"sex": "男",
"role_id": 3,
"open_id": "oT-EX6nmunsdC5nLQ5RrRvDil3B4",
"start": 2,
"zhiwei": "",
"company": "哈哈哈哈哈",
"addtime": "1671441457",
"wxnotice_status": 1,
"role": {
"role_id": 3,
"role_name": "厂家工程师"
},
"cu_id": null,
"user_customer": []
},
"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": 2300,
"message": "您确定绑定为: “ 济南市中心医院TS ” 的厂家主工程师吗?",
"result": {
"user": {
"user_id": 77,
"username": "王宗鑫",
"password": "22a00b5315bda8091f6367c852435587",
"phone": "17860549737",
"email": "41241241241@qq.com",
"sex": "男",
"role_id": 3,
"open_id": "oT-EX6nmunsdC5nLQ5RrRvDil3B4",
"start": 2,
"zhiwei": "",
"company": "哈哈哈哈哈",
"addtime": "1671441457",
"wxnotice_status": 1,
"role": {
"role_id": 3,
"role_name": "厂家工程师"
},
"cu_id": null,
"user_customer": []
},
"customer": {
"cu_id": 6,
"cu_bm": "SD-JN-001",
"cu_name": "济南市中心医院TS",
"abbreviation": "济南市中心医院TS",
"cu_address": "济南市解放路105号",
"shengfen": "16",
"chengshi": "170",
"quxian": "1797",
"fgcs_id": "",
"region": {
"region_id": 16,
"parent_id": 1,
"region_name": "山东省",
"region_type": 1
},
"region1": {
"region_id": 170,
"parent_id": 16,
"region_name": "济南市",
"region_type": 2
},
"region2": {
"region_id": 1797,
"parent_id": 170,
"region_name": "历下区",
"region_type": 3
}
}
}
}
或 如果已经提交厂家辅助工程师申请
{
"code": 2100,
"message": "您绑定 “ 国医通社区医院 ” 的辅助厂家工程师申请已提交,请通过后再试",
"result": {
"user": {
"user_id": 77,
"username": "王宗鑫",
"password": "22a00b5315bda8091f6367c852435587",
"phone": "17860549737",
"email": "41241241241@qq.com",
"sex": "男",
"role_id": 3,
"open_id": "oT-EX6nmunsdC5nLQ5RrRvDil3B4",
"start": 2,
"zhiwei": "",
"company": "哈哈哈哈哈",
"addtime": "1671441457",
"wxnotice_status": 1,
"role": {
"role_id": 3,
"role_name": "厂家工程师"
},
"cu_id": null,
"user_customer": []
},
"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></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;">groupid</td>
<td style="text-align: left;">int</td>
<td>用户组id,1:超级管理员;2:普通用户</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>