From ef98fd01a5fd839e041f49b1c6e09f77ba00c9c4 Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期日, 22 十二月 2024 12:29:18 +0800
Subject: [PATCH] 45
---
app.js | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/app.js b/app.js
index f8abf1d..42e03c7 100644
--- a/app.js
+++ b/app.js
@@ -293,11 +293,12 @@
if (rows.length > 0) {
const user = rows[0];
const response = {
-
+ result:[ {
patientId: user.code,
- fullName: user.patient_name,
+ name: user.patient_name,
gender: user.patient_gender,
age: getAgeFromIdCard(user.patient_identity_no),
+ birthday:'',
phoneNum:user.patient_mobile,
address: user.patient_avatar_icon,
idType: user.patient_identity_type,
@@ -309,7 +310,7 @@
examDoctor:'',
examDept:"",
diagnosisDoctor:''
-
+ }],
};
res.json(response);
} else {
--
Gitblit v1.8.0