container->get(SystemRequest::class); $request->scene('getSystemInquiryTime')->validateResolved(); $SystemService = new SystemService(); $data = $SystemService->getSystemInquiryTime(); return $this->response->json($data); } /** * 获取系统问诊配置 * @return ResponseInterface * @throws ContainerExceptionInterface * @throws NotFoundExceptionInterface */ public function getSystemInquiryConfig(): ResponseInterface { $request = $this->container->get(SystemRequest::class); $request->scene('getSystemInquiryConfig')->validateResolved(); $SystemService = new SystemService(); $data = $SystemService->getSystemInquiryConfig(); return $this->response->json($data); } }