对医生进行授权

请求地址: v1/doctorGroup/grantToDoctor/{ownerId}/{grantDoctorId}

HTTP请求方式: post application/json

请求参数说明

参数名称 参数类型 参数说明
ownerId long 诊所创建者id
grantDoctorId long 授权医生的id

请求参数示例

 {
  "dtos":[
      {
       "doctorId":5,   
       "type":"Manager"
      },
       {
       "doctorId":6,   
       "type":"Member"
      }
  ]
 }

响应结果示例

{
    "ret_code": 0,
    "ret_values": [
        {
            "id": 7,
            "tel": "18317725722",
            "name": "超妹",
            "jobTitle": "主任医师",
            "type": "Attending",
            "avatarUrl": "http://7xp6gb.com2.z0.glb.qiniucdn.com/2.pic.jpg",
            "description": "你好,超妹",
            "hospital": {
                "id": 1,
                "name": "第一人民医院"
            },
            "department": {
                "id": 1,
                "name": "儿科"
            },
            "imId": "doctor18317725722"
        }
    ],
    "message": null
}

results matching ""

    No results matching ""