From 5d28b1d3168cfc6341ca6fb579d688305555e7af Mon Sep 17 00:00:00 2001
From: skyouc <creaycat@gmail.com>
Date: 星期二, 30 十二月 2025 16:47:31 +0800
Subject: [PATCH] no message
---
src/main/java/com/zy/common/web/AuthController.java | 6 +++---
src/main/java/com/zy/system/timer/LicenseTimer.java | 2 +-
pom.xml | 8 ++++++++
3 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/pom.xml b/pom.xml
index edb4b13..ce8a2be 100644
--- a/pom.xml
+++ b/pom.xml
@@ -44,6 +44,14 @@
<!-- <artifactId>framework</artifactId>-->
<!-- <version>${cool.version}</version>-->
<!-- </dependency>-->
+ <!-- 浣跨敤鏈湴 JAR 瑙e喅缂哄け鐨� cn.cool:framework:jar:3.2.0 -->
+ <dependency>
+ <groupId>cn.cool</groupId>
+ <artifactId>framework</artifactId>
+ <version>3.2.0</version>
+ <scope>system</scope>
+ <systemPath>${project.basedir}/version/lib/framework-3.2.0.jar</systemPath>
+ </dependency>
<dependency>
<groupId>org.apache.tika</groupId>
<artifactId>tika-core</artifactId>
diff --git a/src/main/java/com/zy/common/web/AuthController.java b/src/main/java/com/zy/common/web/AuthController.java
index efb9aa2..8aea87f 100644
--- a/src/main/java/com/zy/common/web/AuthController.java
+++ b/src/main/java/com/zy/common/web/AuthController.java
@@ -138,9 +138,9 @@
resourceWrapper = new EntityWrapper<Resource>().eq("level", 2).eq("status", 1).orderBy("sort");
} else {
// 婵�娲荤爜楠岃瘉
- if (!SystemProperties.SYSTEM_ACTIVATION) {
- return R.ok();
- }
+ if (!SystemProperties.SYSTEM_ACTIVATION) {
+ return R.ok();
+ }
oneLevel = resourceService.selectList(new EntityWrapper<Resource>().eq("level", 1).eq("status", 1).orderBy("sort"));
// 鑾峰彇褰撳墠鐢ㄦ埛鐨勬墍鏈変簩绾ц彍鍗�
user = userService.selectById(getUserId());
diff --git a/src/main/java/com/zy/system/timer/LicenseTimer.java b/src/main/java/com/zy/system/timer/LicenseTimer.java
index aa4e860..d1aef18 100644
--- a/src/main/java/com/zy/system/timer/LicenseTimer.java
+++ b/src/main/java/com/zy/system/timer/LicenseTimer.java
@@ -18,7 +18,7 @@
@Component
public class LicenseTimer {
- private static boolean SYSTEM_SUPPORT = false;//绯荤粺婵�娲荤姸鎬侊紝榛樿鍏抽棴
+ private static boolean SYSTEM_SUPPORT = true;//绯荤粺婵�娲荤姸鎬侊紝榛樿鍏抽棴
private static int LICENSE_DAYS = 0;//璁稿彲璇佸ぉ鏁�
--
Gitblit v1.9.1