1
This commit is contained in:
@@ -89,4 +89,20 @@ class DoctorAccountController extends AbstractController
|
||||
$data = $DoctorAccountService->getDoctorWithdrawalRecordList();
|
||||
return $this->response->json($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 发起提现
|
||||
* @return ResponseInterface
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface
|
||||
*/
|
||||
public function addDoctorWithdrawal(): ResponseInterface
|
||||
{
|
||||
$request = $this->container->get(DoctorAccountRequest::class);
|
||||
$request->scene('addDoctorWithdrawal')->validateResolved();
|
||||
|
||||
$DoctorAccountService = new DoctorAccountService();
|
||||
$data = $DoctorAccountService->addDoctorWithdrawal();
|
||||
return $this->response->json($data);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user