This commit is contained in:
Your Name
2026-03-20 13:56:40 +08:00
parent 7147c8e148
commit d765517b74
258 changed files with 2481 additions and 364 deletions
+3 -3
View File
@@ -136,14 +136,14 @@ class TcmController extends BaseApiController
*/
public function getCardList()
{
$patientId = $this->request->get('patient_id');
$user_id =$this->userId;
if (!$patientId) {
if (!$user_id) {
return $this->fail('患者ID不能为空');
}
try {
$result = DiagnosisLogic::getCardList($patientId);
$result = DiagnosisLogic::getCardList($user_id);
if ($result === false) {
return $this->fail(DiagnosisLogic::getError());