新增:获取个人简介审核失败原因、获取身份认证审核失败原因、获取身份认证信息修改

This commit is contained in:
2024-01-18 15:35:22 +08:00
parent 0e2301c1d7
commit dca495db1a
5 changed files with 143 additions and 82 deletions
+23 -1
View File
@@ -11,7 +11,7 @@ use Psr\Container\NotFoundExceptionInterface;
use Psr\Http\Message\ResponseInterface;
/**
* 医生认证
* 医生身份认证
*/
class DoctorAuthController extends AbstractController
{
@@ -100,4 +100,26 @@ class DoctorAuthController extends AbstractController
$data = $DoctorAuthService->addAuthMulti();
return $this->response->json($data);
}
/**
* 获取身份认证审核失败原因
* @return ResponseInterface
*/
public function getIdenAuthFailReason(): ResponseInterface
{
$DoctorAuthService = new DoctorAuthService();
$data = $DoctorAuthService->getIdenAuthFailReason();
return $this->response->json($data);
}
/**
* 获取个人简介审核失败原因
* @return ResponseInterface
*/
public function getDoctorIntroductionFailReason(): ResponseInterface
{
$DoctorAuthService = new DoctorAuthService();
$data = $DoctorAuthService->getDoctorIntroductionFailReason();
return $this->response->json($data);
}
}