修正路由

This commit is contained in:
2023-11-20 15:35:24 +08:00
parent 083484aad6
commit 65a5f6bc4d
6 changed files with 78 additions and 45 deletions
+1 -11
View File
@@ -5,6 +5,7 @@ namespace App\Controller;
use App\Constants\HttpEnumCode;
use App\Request\PatientFamilyRequest;
use App\Services\PatientFamilyService;
use App\Services\PatientPathographyService;
use GuzzleHttp\Exception\GuzzleException;
use Hyperf\Validation\Contract\ValidatorFactoryInterface;
use Psr\Container\ContainerExceptionInterface;
@@ -250,15 +251,4 @@ 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);
}
}