From b4da0533465cd8b41841e33e34b6ff9486da3d24 Mon Sep 17 00:00:00 2001
From: haoyanbin <605649647@qq.com>
Date: Thu, 9 May 2024 17:52:26 +0800
Subject: [PATCH] 1

---
 app/controller/search.py | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/app/controller/search.py b/app/controller/search.py
index 289751f..30d5c67 100644
--- a/app/controller/search.py
+++ b/app/controller/search.py
@@ -61,7 +61,15 @@ def illness_search():
                 if val2['n']['name'] in illness_data.keys():
                     illness_data[val2['n']['name']]['num'] += 1
                 else:
-                    illness_data[val2['n']['name']] = {'num': 1, 'name': val2['n']['name']}
+                    illness_data[val2['n']['name']] = {
+                        'num': 1, 
+                        'name': val2['n']['name'], 
+                        'examintions':val2['n']['examintions'],
+                        'id':val2['n']['id'],
+                        'description':val2['n']['description'],
+                        'prognosis':val2['n']['prognosis'],
+                        'remarks':val2['n']['remarks']
+                        }
 
         if len(illness_data) == 0:
             return ''
-- 
2.18.1