修正验证码不能以0开头的问题

This commit is contained in:
2023-02-24 10:37:29 +08:00
parent e6afaf0913
commit b8dd0463a2
6 changed files with 59 additions and 4 deletions
@@ -68,4 +68,20 @@ class DoctorAccountController extends AbstractController
$data = $DoctorAccountService->getDoctorWithdrawalOrderList();
return $this->response->json($data);
}
/**
* 获取医生提现记录列表
* @return ResponseInterface
* @throws ContainerExceptionInterface
* @throws NotFoundExceptionInterface
*/
public function getDoctorWithdrawalRecordList(): ResponseInterface
{
$request = $this->container->get(DoctorAccountRequest::class);
$request->scene('getDoctorWithdrawalRecordList')->validateResolved();
$DoctorAccountService = new DoctorAccountService();
$data = $DoctorAccountService->getDoctorWithdrawalRecordList();
return $this->response->json($data);
}
}