1
This commit is contained in:
parent
caf1a6b922
commit
825eb7b859
14
app/Services/InquiryConfigService.php
Normal file
14
app/Services/InquiryConfigService.php
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Services;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 问诊配置
|
||||||
|
*/
|
||||||
|
class InquiryConfigService extends BaseService
|
||||||
|
{
|
||||||
|
public function get()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -895,19 +895,9 @@ class InquiryService extends BaseService
|
|||||||
$follow = false; // 关注状态
|
$follow = false; // 关注状态
|
||||||
$is_evaluation = false; // 评价状态
|
$is_evaluation = false; // 评价状态
|
||||||
|
|
||||||
// 获取医生问诊配置-问诊购药
|
// 处理可处方字段
|
||||||
$multi_point_enable = 0;
|
$userDoctorService = new UserDoctorService();
|
||||||
|
$multi_point_enable = $userDoctorService->getDoctorMultiPointEnable($user_doctor["doctor_id"]);
|
||||||
$params = array();
|
|
||||||
$params['doctor_id'] = $user_doctor['doctor_id'];
|
|
||||||
$params['inquiry_type'] = 4;
|
|
||||||
$params['inquiry_mode'] = 1;
|
|
||||||
$doctor_inquiry_config = DoctorInquiryConfig::getOne($params);
|
|
||||||
if (!empty($doctor_inquiry_config)) {
|
|
||||||
if ($doctor_inquiry_config['is_enable'] == 1) {
|
|
||||||
$multi_point_enable = 1;// 是否开启问诊购药
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($user_info['user_type'] == 1) {
|
if ($user_info['user_type'] == 1) {
|
||||||
// 关注状态
|
// 关注状态
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user