新增检测家庭成员是否存在病情记录接口

This commit is contained in:
2023-11-20 14:58:22 +08:00
parent d7d2937159
commit 142375a752
4 changed files with 121 additions and 1 deletions
@@ -0,0 +1,23 @@
<?php
namespace App\Controller;
use App\Services\PatientPathographyService;
use Psr\Http\Message\ResponseInterface;
/**
* 病情记录
*/
class PatientPathographyController extends AbstractController
{
/**
* 检测家庭成员是否存在病情记录
* @return ResponseInterface
*/
public function existFamilyPathography(): ResponseInterface
{
$PatientPathographyService = new PatientPathographyService();
$data = $PatientPathographyService->existFamilyPathography();
return $this->response->json($data);
}
}