From 77f6a624d414f1d3073580dd3c8a58c9b26adaf9 Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期日, 22 十二月 2024 12:25:01 +0800
Subject: [PATCH] ces
---
app.js | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/app.js b/app.js
index 0243744..f8abf1d 100644
--- a/app.js
+++ b/app.js
@@ -293,7 +293,7 @@
if (rows.length > 0) {
const user = rows[0];
const response = {
- result:[ {
+
patientId: user.code,
fullName: user.patient_name,
gender: user.patient_gender,
@@ -309,7 +309,7 @@
examDoctor:'',
examDept:"",
diagnosisDoctor:''
- }],
+
};
res.json(response);
} else {
@@ -336,7 +336,9 @@
* PostCheckExam 病人信息及检测结果以JSON的形式回传至服务器
*/
app.post('/PostCheckExam',async(req,res)=>{
- const mode=req.body
+ // 查看body参数
+ const body=req.body
+
if(mode){
logHttps(mode)
}else{
--
Gitblit v1.8.0