返回包含教师信息的响应实体
此方法首先会检查传入的教师UUID是否为空或空白,如果为空或空白,则抛出业务异常, 表示参数错误接着,调用教师服务的getTeacher方法获取教师信息最后,使用ResultUtil 工具类生成包含“查询成功”消息和教师信息的响应实体返回
{
"output": "string",
"code": 0,
"message": "string",
"error_message": "string",
"data": {
"teacher_uuid": "string",
"unit_uuid": "string",
"user_uuid": "string",
"id": "string",
"name": "string",
"english_name": "string",
"ethnic": "string",
"sex": true,
"phone": "string",
"type": "string",
"email": "string",
"job_title": "string",
"desc": "string",
"status": -127,
"created_at": 0,
"updated_at": 0
}
}