From 71eeac34fee9f5a53168e0872e5fb7b855c0b4c8 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@gmail.com> Date: 星期三, 12 二月 2025 21:22:55 +0800 Subject: [PATCH] # --- rsf-admin/src/api/auth/index.js | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/rsf-admin/src/api/auth/index.js b/rsf-admin/src/api/auth/index.js index 3c164da..6cd4d6f 100644 --- a/rsf-admin/src/api/auth/index.js +++ b/rsf-admin/src/api/auth/index.js @@ -1,5 +1,13 @@ import request from '../../utils/request'; +export async function getSystemInfo() { + const res = await request.get('/system/info'); + if (res.data.code === 200) { + return res.data.data; + } + return Promise.reject(new Error(res.data.msg)); +} + export async function tenants(_params) { const res = await request.get('/tenant/list', _params); if (res.data.code === 200) { -- Gitblit v1.9.1