修改医生职称

This commit is contained in:
2023-04-28 11:42:57 +08:00
parent 1431b32cd2
commit 79e65c3d5a
7 changed files with 59 additions and 8 deletions
+10 -2
View File
@@ -32,12 +32,12 @@ use Hyperf\Utils\Arr;
* @property int $is_bind_bank 是否已绑定结算银行卡(0:否 1:是)
* @property int $is_recommend 是否首页推荐(0:否 1:是)
* @property string $avatar 头像
* @property int $doctor_title 医生职称(1:执业医师 2:主医师 3:副主任医师 4:主任医师)
* @property int $doctor_title 医生职称(1:主任中医师 2:主医师 3:副主任医师 4:主任医师 5:主治医师 6:住院医师
* @property int $department_custom_id 科室id-自定义
* @property string $department_custom_name 科室名称(如未自己输入,填入标准科室名称)
* @property string $department_custom_mobile 科室电话
* @property int $hospital_id 所属医院id
* @property int $served_patients_num 服务患者数量
* @property int $served_patients_num 服务患者数量(订单结束时统计)
* @property string $praise_rate 好评率(百分制。订单平均评价中超过4-5分的订单总数 / 总订单数 * 5)
* @property string $avg_response_time 平均响应时间(分钟制)
* @property int $number_of_fans 被关注数量
@@ -108,6 +108,14 @@ class UserDoctor extends Model
return $this->hasMany(OrderInquiry::class, "doctor_id", "doctor_id");
}
// /**
// * 关联职称表
// */
// public function BasicDoctorTitle(): HasOne
// {
// return $this->hasOne(BasicDoctorTitle::class, 'doctor_title_id', 'doctor_title_id');
// }
/**
* 获取医生信息-单条
* @param array $params