23 lines
568 B
PHP
23 lines
568 B
PHP
<?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);
|
|
}
|
|
} |