From c4beaaabb7848d033a5bc7367df8047c9e4704e2 Mon Sep 17 00:00:00 2001
From: zhengpz <11@qq.com>
Date: Fri, 23 Jul 2021 00:41:27 +0800
Subject: [PATCH] 首页接口对接
---
src/api/index/index.js | 42 +++++++++++++++++++++++++++++++++++-------
1 files changed, 35 insertions(+), 7 deletions(-)
diff --git a/src/api/index/index.js b/src/api/index/index.js
index 56e5eed..6c6f8ca 100644
--- a/src/api/index/index.js
+++ b/src/api/index/index.js
@@ -2,22 +2,50 @@
// http://2h3f861221.wicp.vip:58646/information/SelectCount
export const securityTotal = () => {
return request({
- url: "http://2h3f861221.wicp.vip:58646/information/SelectCount",
+ url: "/api/information/SelectCount",
method: "post"
});
};
export const holderNum = () => {
return request({
- url: "http://2h3f861221.wicp.vip:58646/information/SelectCounthold",
+ url: "/api/information/SelectCounthold",
method: "post"
});
};
export const securityPer = () => {
- return request({
- url: "http://2h3f861221.wicp.vip:58646/performance/queryYearPer",
- method: "get"
- });
- };
+ return request({
+ url: "/api/performance/queryYearPer",
+ method: "get"
+ });
+};
+export const getLiveLocationVoList = (params) => {
+ return request({
+ url: "/api/liveLocation/getLiveLocationVoList",
+ method: "get",
+ params: params
+ });
+};
+export const lazyTreeJu = () => {
+ return request({
+ url: "/api/information/lazyTreeJu",
+ method: "post"
+ });
+};
+export const noholderNum = (params) => {
+ return request({
+ url: "/api/information/selectInCount",
+ method: "post",
+ params: params
+ });
+};
+export const noSocialSecurity = (params) => {
+ return request({
+ url: "/api/information/selectCs",
+ method: "post",
+ params: params
+ });
+};
+
--
Gitblit v1.9.3