去除身份认证

This commit is contained in:
2023-03-17 16:32:43 +08:00
parent 0745965bbe
commit 150411b0da
4 changed files with 73 additions and 47 deletions
+5
View File
@@ -45,9 +45,14 @@ class DoctorAuthController extends AbstractController
/**
* 获取身份认证信息
* @return ResponseInterface
* @throws ContainerExceptionInterface
* @throws NotFoundExceptionInterface
*/
public function getAuthIden(): ResponseInterface
{
$request = $this->container->get(DoctorAuthRequest::class);
$request->scene('getAuthIden')->validateResolved();
$DoctorAuthService = new DoctorAuthService();
$data = $DoctorAuthService->getAuthIden();
return $this->response->json($data);