调整问诊配置,新增随访包接口等
This commit is contained in:
@@ -29,4 +29,20 @@ class SystemController extends AbstractController
|
||||
$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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user