From f91eed437cf6dd42d0372fe121be6e4787d7dba2 Mon Sep 17 00:00:00 2001 From: dx <1242347652@qq.com> Date: Fri, 21 Feb 2025 17:37:17 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E5=B1=8F=E6=8E=A5=E5=8F=A3api?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/screen/index.ts | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 src/api/screen/index.ts diff --git a/src/api/screen/index.ts b/src/api/screen/index.ts new file mode 100644 index 0000000..f4f148b --- /dev/null +++ b/src/api/screen/index.ts @@ -0,0 +1,34 @@ +import request from '@/config/axios' + + +// 数据大屏 API +export const ScreenApi = { + // 查询大屏左侧第一个接口 + getLifeFirst: async (params: any) => { + return await request.get({ url: `/system/big-view-data/getLifeFirst`, params }) + }, + + getLeftSecond: async (params: any) => { + return await request.get({ url: `/system/big-view-data/getLeftSecond`, params }) + }, + + getLeftThird: async (params: any) => { + return await request.get({ url: `/system/big-view-data/getLeftThird`, params }) + }, + + getRightFirst: async (params: any) => { + return await request.get({ url: `/system/big-view-data/getRightFirst`, params }) + }, + + + getRightSecond: async (params: any) => { + return await request.get({ url: `/system/big-view-data/getRightSecond`, params }) + }, + + getRightThird: async (params: any) => { + return await request.get({ url: `/system/big-view-data/getRightThird`, params }) + }, + + + +} \ No newline at end of file