From 473bd88d37e20ce9724b7fdaa70e3cc2b963e066 Mon Sep 17 00:00:00 2001
From: 付延余 <f-yanyu@outlook.com>
Date: 星期日, 24 四月 2022 16:57:28 +0800
Subject: [PATCH] 首页数据
---
src/api/index.js | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/src/api/index.js b/src/api/index.js
index 6740be1..014ce1b 100644
--- a/src/api/index.js
+++ b/src/api/index.js
@@ -2,8 +2,17 @@
// 鍚庡彴鐢ㄦ埛鐩稿叧
export const login = params => {
- return postRequest('/login', params);
+ return postRequest('/ybg/webservice/phone/login.do', params);
}
export const getAdminIndex = params => {
return getRequest('/getAdminIndex', params);
}
+
+
+// 棣栭〉鎺ュ彛
+export const getInsured = (params) => {
+ return postRequest('/ybg/webservice/app/homepage/getInsured.do',params)
+}
+export const getInstitution = (params) => {
+ return postRequest('/ybg/webservice/app/homepage/getInstitution.do',params)
+}
--
Gitblit v1.9.1