container->get(DoctorAccountRequest::class); $request->scene('getDoctorAccount')->validateResolved(); $DoctorAccountService = new DoctorAccountService(); $data = $DoctorAccountService->getDoctorAccount(); return $this->response->json($data); } /** * 获取我的账户日账单明细数据 * @return ResponseInterface * @throws ContainerExceptionInterface * @throws NotFoundExceptionInterface */ public function getDoctorAccountInfo(): ResponseInterface { $request = $this->container->get(DoctorAccountRequest::class); $request->scene('getDoctorAccountInfo')->validateResolved(); $DoctorAccountService = new DoctorAccountService(); $data = $DoctorAccountService->getDoctorAccountInfo(); return $this->response->json($data); } /** * 获取提现数据 * @return ResponseInterface */ public function getDoctorWithdrawal(): ResponseInterface { $DoctorAccountService = new DoctorAccountService(); $data = $DoctorAccountService->getDoctorWithdrawal(); return $this->response->json($data); } }