新增查看患者病例接口
This commit is contained in:
@@ -3,9 +3,7 @@
|
||||
namespace App\Controller;
|
||||
|
||||
use App\Request\InquiryRequest;
|
||||
use App\Request\OrderInquiryRequest;
|
||||
use App\Services\InquiryService;
|
||||
use App\Services\OrderInquiryService;
|
||||
use Psr\Container\ContainerExceptionInterface;
|
||||
use Psr\Container\NotFoundExceptionInterface;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
@@ -40,4 +38,15 @@ class InquiryController extends AbstractController
|
||||
$data = $InquiryService->addInquiryOrder();
|
||||
return $this->response->json($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取患者问诊病例
|
||||
* @return ResponseInterface
|
||||
*/
|
||||
public function getPatientInquiryCase(): ResponseInterface
|
||||
{
|
||||
$InquiryService = new InquiryService();
|
||||
$data = $InquiryService->getPatientInquiryCase();
|
||||
return $this->response->json($data);
|
||||
}
|
||||
}
|
||||
@@ -223,4 +223,15 @@ class UserDoctorController extends AbstractController
|
||||
$data = $UserDoctorService->getDoctorCret();
|
||||
return $this->response->json($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取处方详情
|
||||
* @return ResponseInterface
|
||||
*/
|
||||
public function getPrescriptionInfo(): ResponseInterface
|
||||
{
|
||||
$UserDoctorService = new UserDoctorService();
|
||||
$data = $UserDoctorService->getPrescriptionInfo();
|
||||
return $this->response->json($data);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user