拆分医生详情接口,
This commit is contained in:
@@ -31,17 +31,6 @@ class PatientDoctorController extends AbstractController
|
||||
return $this->response->json($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取问诊医生详情
|
||||
* @return ResponseInterface
|
||||
*/
|
||||
public function getInquiryDoctorInfo(): ResponseInterface
|
||||
{
|
||||
$PatientDoctorService = new PatientDoctorService();
|
||||
$data = $PatientDoctorService->getInquiryDoctorInfo();
|
||||
return $this->response->json($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 医生详情简介-详情中的简介
|
||||
* @return ResponseInterface
|
||||
|
||||
@@ -10,6 +10,7 @@ use App\Request\UserDoctorRequest;
|
||||
use App\Services\DoctorAuthService;
|
||||
use App\Services\DoctorInquiryService;
|
||||
use App\Services\ImService;
|
||||
use App\Services\PatientDoctorService;
|
||||
use App\Services\UserDoctorService;
|
||||
use Extend\TencentIm\Account;
|
||||
use GuzzleHttp\Exception\GuzzleException;
|
||||
@@ -338,4 +339,26 @@ class UserDoctorController extends AbstractController
|
||||
$data = $UserDoctorService->addDoctorInquiry();
|
||||
return $this->response->json($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取医生详情-问诊
|
||||
* @return ResponseInterface
|
||||
*/
|
||||
public function getDoctorInfoInquiry(): ResponseInterface
|
||||
{
|
||||
$userDoctorService = new UserDoctorService();
|
||||
$data = $userDoctorService->getDoctorInfoInquiry();
|
||||
return $this->response->json($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取医生开启的服务
|
||||
* @return ResponseInterface
|
||||
*/
|
||||
public function getDoctorOpenInquiryService(): ResponseInterface
|
||||
{
|
||||
$userDoctorService = new UserDoctorService();
|
||||
$data = $userDoctorService->getDoctorOpenInquiryService();
|
||||
return $this->response->json($data);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user