From 846aebaf6d1ac6c4f3116816411cf25c5581f853 Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Wed, 17 Jan 2024 19:03:01 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=A4=BE=E5=8C=BA=E7=89=88=E8=B5=84?= =?UTF-8?q?=E6=BA=90=E5=90=8C=E6=AD=A5=E5=88=B0=E4=BC=81=E4=B8=9A=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/api/about.ts | 4 ++ core/core-frontend/src/views/about/index.vue | 56 ++++++++++++++++++- de-xpack | 2 +- .../api/rmonitor/ResourceMonitorApi.java | 16 ++++++ .../auth/api/InteractiveAuthApi.java | 2 + 5 files changed, 76 insertions(+), 4 deletions(-) create mode 100644 sdk/api/api-base/src/main/java/io/dataease/api/rmonitor/ResourceMonitorApi.java diff --git a/core/core-frontend/src/api/about.ts b/core/core-frontend/src/api/about.ts index 1a20032bb7..2b563723ec 100644 --- a/core/core-frontend/src/api/about.ts +++ b/core/core-frontend/src/api/about.ts @@ -3,3 +3,7 @@ import request from '@/config/axios' export const validateApi = data => request.post({ url: '/license/validate', data }) export const buildVersionApi = () => request.get({ url: '/license/version' }) export const updateInfoApi = data => request.post({ url: '/license/update', data }) + +export const checkFreeApi = () => request.get({ url: '/rmonitor/existFree' }) +export const syncFreeApi = () => request.post({ url: '/rmonitor/sync' }) +export const delFreeApi = () => request.post({ url: '/rmonitor/delete' }) diff --git a/core/core-frontend/src/views/about/index.vue b/core/core-frontend/src/views/about/index.vue index 9efc818a31..8c2f319fe6 100644 --- a/core/core-frontend/src/views/about/index.vue +++ b/core/core-frontend/src/views/about/index.vue @@ -1,10 +1,17 @@