去除身份认证
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user