Compare commits
No commits in common. "31d228cef7af6476974b1f407af4cf1cb51fd24e" and "9f6f0aa299b859ff662be187e55a78ea8a7bdf58" have entirely different histories.
31d228cef7
...
9f6f0aa299
@ -71,7 +71,7 @@ class CaService extends BaseService
|
|||||||
if ($app_env == 'prod'){
|
if ($app_env == 'prod'){
|
||||||
$this->entity_id = "1";
|
$this->entity_id = "1";
|
||||||
}else{
|
}else{
|
||||||
$this->entity_id = "53453454621";
|
$this->entity_id = "534534546";
|
||||||
}
|
}
|
||||||
$this->card_num = "91510106MABTJY4K9R";
|
$this->card_num = "91510106MABTJY4K9R";
|
||||||
}elseif($type == 2){
|
}elseif($type == 2){
|
||||||
|
|||||||
@ -1494,21 +1494,6 @@ class UserDoctorService extends BaseService
|
|||||||
$transfer_prescription_list = UserDoctor::getList($params);
|
$transfer_prescription_list = UserDoctor::getList($params);
|
||||||
if (!empty($transfer_prescription_list)) {
|
if (!empty($transfer_prescription_list)) {
|
||||||
$transfer_doctor = $transfer_prescription_list[0];//取第一个抄方医生
|
$transfer_doctor = $transfer_prescription_list[0];//取第一个抄方医生
|
||||||
|
|
||||||
// 获取抄方医生问诊配置-问诊购药
|
|
||||||
$params = array();
|
|
||||||
$params['doctor_id'] = $transfer_doctor['doctor_id'];
|
|
||||||
$params['inquiry_type'] = 4;
|
|
||||||
$params['inquiry_mode'] = 1;
|
|
||||||
$doctor_inquiry_config = DoctorInquiryConfig::getOne($params);
|
|
||||||
if (empty($doctor_inquiry_config)) {
|
|
||||||
return fail(HttpEnumCode::HTTP_ERROR, "请联系客服开启问诊购药服务!");
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($doctor_inquiry_config['is_enable'] == 0){
|
|
||||||
return fail(HttpEnumCode::HTTP_ERROR, "请联系客服开启问诊购药服务!");
|
|
||||||
}
|
|
||||||
|
|
||||||
$is_transfer_prescription = true;
|
$is_transfer_prescription = true;
|
||||||
//修改抄方医生id
|
//修改抄方医生id
|
||||||
$data = array();
|
$data = array();
|
||||||
@ -1534,6 +1519,9 @@ class UserDoctorService extends BaseService
|
|||||||
// 获取医生问诊配置-问诊购药
|
// 获取医生问诊配置-问诊购药
|
||||||
$params = array();
|
$params = array();
|
||||||
$params['doctor_id'] = $user_doctor['doctor_id'];
|
$params['doctor_id'] = $user_doctor['doctor_id'];
|
||||||
|
if ($is_transfer_prescription){
|
||||||
|
$params['doctor_id'] = $transfer_doctor['doctor_id'];
|
||||||
|
}
|
||||||
$params['inquiry_type'] = 4;
|
$params['inquiry_type'] = 4;
|
||||||
$params['inquiry_mode'] = 1;
|
$params['inquiry_mode'] = 1;
|
||||||
$doctor_inquiry_config = DoctorInquiryConfig::getOne($params);
|
$doctor_inquiry_config = DoctorInquiryConfig::getOne($params);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user