| pom.xml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| src/main/java/com/zy/common/web/AuthController.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| src/main/java/com/zy/system/timer/LicenseTimer.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
pom.xml
@@ -9,7 +9,7 @@ <relativePath/> </parent> <groupId>com.zy</groupId> <artifactId>asrs</artifactId>t <artifactId>asrs</artifactId> <version>1.1.1</version> <packaging>war</packaging> @@ -30,7 +30,6 @@ <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-tomcat</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.springframework.boot</groupId> @@ -40,10 +39,18 @@ <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-aop</artifactId> </dependency> <!-- <dependency>--> <!-- <groupId>cn.cool</groupId>--> <!-- <artifactId>framework</artifactId>--> <!-- <version>${cool.version}</version>--> <!-- </dependency>--> <!-- 使用本地 JAR 解决缺失的 cn.cool:framework:jar:3.2.0 --> <dependency> <groupId>cn.cool</groupId> <artifactId>framework</artifactId> <version>${cool.version}</version> <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> 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()); src/main/java/com/zy/system/timer/LicenseTimer.java
@@ -7,7 +7,7 @@ @Component public class LicenseTimer { private static boolean SYSTEM_SUPPORT = false;//系统激活状态,默认关闭 private static boolean SYSTEM_SUPPORT = true;//系统激活状态,默认关闭 private static int LICENSE_DAYS = 0;//许可证天数