From 1925add1006de94bda39624022183d639df09859 Mon Sep 17 00:00:00 2001 From: zhengjw22 Date: Tue, 5 Nov 2024 20:02:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../smartboot/servlet/plugins/license/LicensePlugin.java | 1 + .../smartboot/servlet/plugins/license/LicenseTO.java | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/servlet-core/src/main/java/tech/smartboot/servlet/plugins/license/LicensePlugin.java b/servlet-core/src/main/java/tech/smartboot/servlet/plugins/license/LicensePlugin.java index 1706800..df5fd26 100644 --- a/servlet-core/src/main/java/tech/smartboot/servlet/plugins/license/LicensePlugin.java +++ b/servlet-core/src/main/java/tech/smartboot/servlet/plugins/license/LicensePlugin.java @@ -136,6 +136,7 @@ private LicenseTO loadLicense(LicenseEntity entity) throws IOException { LicenseTO licenseTO = new LicenseTO(); licenseTO.setApplicant(properties.getProperty("enterprise.license.user")); licenseTO.setSn(properties.getProperty("enterprise.license.number")); + licenseTO.setCompatible(properties.getProperty("enterprise.compatible")); licenseTO.setExpireTime(entity.getExpireTime()); licenseTO.setTrialDuration(entity.getTrialDuration()); licenseTO.setContact(entity.getContact()); diff --git a/servlet-core/src/main/java/tech/smartboot/servlet/plugins/license/LicenseTO.java b/servlet-core/src/main/java/tech/smartboot/servlet/plugins/license/LicenseTO.java index 8ac52c5..097d6a6 100644 --- a/servlet-core/src/main/java/tech/smartboot/servlet/plugins/license/LicenseTO.java +++ b/servlet-core/src/main/java/tech/smartboot/servlet/plugins/license/LicenseTO.java @@ -36,6 +36,7 @@ public class LicenseTO { * 产品供应商 */ private String vendor; + private String compatible; public String getApplicant() { return applicant; @@ -88,4 +89,12 @@ public String getVendor() { public void setVendor(String vendor) { this.vendor = vendor; } + + public String getCompatible() { + return compatible; + } + + public void setCompatible(String compatible) { + this.compatible = compatible; + } }