修正路由

This commit is contained in:
2023-11-20 15:16:20 +08:00
parent 142375a752
commit 083484aad6
5 changed files with 46 additions and 65 deletions
@@ -250,4 +250,15 @@ class PatientFamilyController extends AbstractController
$data = $patientFamilyService->getFamilyCase();
return $this->response->json($data);
}
/**
* 检测家庭成员是否存在病情记录
* @return ResponseInterface
*/
public function existFamilyPathography(): ResponseInterface
{
$patientFamilyService = new PatientFamilyService();
$data = $patientFamilyService->existFamilyPathography();
return $this->response->json($data);
}
}
@@ -1,23 +0,0 @@
<?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);
}
}