From 1bdbfaf3b3a85626dd10ce0edeb74768a1bda53b Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Wed, 29 Nov 2023 18:27:35 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E8=AE=B8=E5=8F=AF=E6=8E=A7=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/io/dataease/license/server/LicenseServer.java | 2 +- core/core-frontend/src/views/about/index.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/core-backend/src/main/java/io/dataease/license/server/LicenseServer.java b/core/core-backend/src/main/java/io/dataease/license/server/LicenseServer.java index a268317e8e..69978d0abe 100644 --- a/core/core-backend/src/main/java/io/dataease/license/server/LicenseServer.java +++ b/core/core-backend/src/main/java/io/dataease/license/server/LicenseServer.java @@ -14,7 +14,7 @@ import org.springframework.web.bind.annotation.RestController; @RequestMapping("/license") public class LicenseServer implements LicenseApi { - private static final String product = "DataEase"; + private static final String product = "DataEase v2"; @Resource private CoreLicManage coreLicManage; diff --git a/core/core-frontend/src/views/about/index.vue b/core/core-frontend/src/views/about/index.vue index 3fd3c4b07e..a837d29507 100644 --- a/core/core-frontend/src/views/about/index.vue +++ b/core/core-frontend/src/views/about/index.vue @@ -90,7 +90,7 @@ const validateHandler = (param, success) => { } const getLicense = result => { if (result.status === 'valid') { - tipsSuffix.value = result.edition === 'Embedded' ? '套' : '个账号' + tipsSuffix.value = result?.license?.edition === 'Embedded' ? '套' : '个账号' } return { status: result.status,