From 7b5531fccfc16406e303c337526424e40d960f1a Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期二, 20 八月 2024 20:39:33 +0800
Subject: [PATCH] 更新首页
---
src/api/Patients/index.ts | 15 ++++++++++++++-
1 files changed, 14 insertions(+), 1 deletions(-)
diff --git a/src/api/Patients/index.ts b/src/api/Patients/index.ts
index b5df8c4..5b55b1a 100644
--- a/src/api/Patients/index.ts
+++ b/src/api/Patients/index.ts
@@ -14,4 +14,17 @@
},
params
});
-}
\ No newline at end of file
+}
+
+
+export function getPatData(params: object) {
+ return request({
+ url: '/nutrition/getPatData',
+ method: 'post',
+ headers: {
+ 'Content-Type': 'application/x-www-form-urlencoded'
+ },
+ params
+ });
+}
+
--
Gitblit v1.8.0