初始化提交

This commit is contained in:
2023-02-17 17:10:16 +08:00
commit 4ca844f470
152 changed files with 20390 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
<?php
namespace App\Controller;
use App\Services\PatientCaseService;
use Psr\Http\Message\ResponseInterface;
/**
* 病例
*/
class PatientCaseController extends AbstractController
{
/**
* 获取患者最后一份问诊病例
* @return ResponseInterface
*/
public function getLastCase(): ResponseInterface
{
$PatientCaseService = new PatientCaseService();
$data = $PatientCaseService->getLastCase();
return $this->response->json($data);
}
}