| | |
| | | <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> |
| | |
| | | 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()); |
| | |
| | | @Component |
| | | public class LicenseTimer { |
| | | |
| | | private static boolean SYSTEM_SUPPORT = false;//系统激活状态,默认关闭 |
| | | private static boolean SYSTEM_SUPPORT = true;//系统激活状态,默认关闭 |
| | | |
| | | private static int LICENSE_DAYS = 0;//许可证天数 |
| | | |
| | |
| | | server: |
| | | port: 8080 |
| | | port: 8081 |
| | | servlet: |
| | | context-path: /@pom.build.finalName@ |
| | | |
| | |
| | | driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver |
| | | username: sa |
| | | password: sa@123 |
| | | url: jdbc:sqlserver://127.0.0.1:1433;databasename=wms |
| | | url: jdbc:sqlserver://192.168.4.15:1433;databasename=jxhcwms |
| | | mvc: |
| | | static-path-pattern: /** |
| | | redis: |
| | |
| | | <div class="layui-body"></div> |
| | | <!-- 底部 --> |
| | | <div class="layui-footer layui-text"> |
| | | copyright © 2022 <a href="https://www.superton.cn/" target="_blank">浙江中扬立库有限公司</a> all rights reserved. |
| | | copyright © 2022 <a href="https://www.superton.cn/" target="_blank">导线墙软件系统</a> all rights reserved. |
| | | <span class="pull-right">Version 1.0.0</span> |
| | | </div> |
| | | |