修正路由
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user