3
This commit is contained in:
parent
0a169c4ce1
commit
af741e78b4
@ -2463,16 +2463,14 @@ class UserDoctorService extends BaseService
|
||||
$params = array();
|
||||
$params['doctor_id'] = $doctor_id;
|
||||
$doctor_config_difficult_consultation = DoctorConfigDifficultConsultation::getOne($params);
|
||||
if (empty($doctor_config_difficult_consultation)){
|
||||
return fail();
|
||||
if (!empty($doctor_config_difficult_consultation)){
|
||||
$value['times_number'] = $doctor_config_difficult_consultation['service_rounds']; // 服务回合数(0表示不限次)
|
||||
$value['duration'] = $doctor_config_difficult_consultation['service_period']; // 服务周期(天,不存在0的情况)
|
||||
$value['service_content'] = $doctor_config_difficult_consultation['service_content'];// 服务内容
|
||||
$value['service_process'] = $doctor_config_difficult_consultation['service_process'];// 服务流程
|
||||
|
||||
unset($doctor_config_difficult_consultation);
|
||||
}
|
||||
|
||||
$value['times_number'] = $doctor_config_difficult_consultation['service_rounds']; // 服务回合数(0表示不限次)
|
||||
$value['duration'] = $doctor_config_difficult_consultation['service_period']; // 服务周期(天,不存在0的情况)
|
||||
$value['service_content'] = $doctor_config_difficult_consultation['service_content'];// 服务内容
|
||||
$value['service_process'] = $doctor_config_difficult_consultation['service_process'];// 服务流程
|
||||
|
||||
unset($doctor_config_difficult_consultation);
|
||||
}else{
|
||||
// 获取系统问诊配置
|
||||
$fields = [
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user