- 重构设备ID生成逻辑,采用多重降级策略确保唯一性与稳定性- 移除客户端SQLite缓存依赖,改用localStorage存储token与设备ID - 优化认证流程,简化token管理与会话恢复逻辑- 增加设备数量限制检查,防止超出配额 - 更新SSE连接逻辑,适配新的认证机制 - 调整Redis连接池配置,提升并发性能与稳定性 - 移除冗余的缓存接口与本地退出逻辑 - 修复设备移除时的状态处理问题,避免重复调用offline接口 - 引入OSHI库用于硬件信息采集(备用方案)- 更新开发环境API地址配置
157 lines
5.5 KiB
XML
157 lines
5.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||
<parent>
|
||
<artifactId>ruoyi</artifactId>
|
||
<groupId>com.ruoyi</groupId>
|
||
<version>3.9.0</version>
|
||
</parent>
|
||
<modelVersion>4.0.0</modelVersion>
|
||
<packaging>jar</packaging>
|
||
<artifactId>ruoyi-admin</artifactId>
|
||
|
||
<description>
|
||
web服务入口
|
||
</description>
|
||
|
||
<dependencies>
|
||
<!-- https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-java -->
|
||
<dependency>
|
||
<groupId>org.seleniumhq.selenium</groupId>
|
||
<artifactId>selenium-java</artifactId>
|
||
<version>4.34.0</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.seleniumhq.selenium</groupId>
|
||
<artifactId>selenium-grid</artifactId>
|
||
<version>4.34.0</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>cn.hutool</groupId>
|
||
<artifactId>hutool-all</artifactId>
|
||
<version>5.8.36</version>
|
||
</dependency>
|
||
<!-- <!– https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-chrome-driver –>
|
||
<dependency>
|
||
<groupId>org.seleniumhq.selenium</groupId>
|
||
<artifactId>selenium-chrome-driver</artifactId>
|
||
<version>4.34.0</version>
|
||
</dependency>-->
|
||
<dependency>
|
||
<groupId>org.junit.jupiter</groupId>
|
||
<artifactId>junit-jupiter-engine</artifactId>
|
||
<version>5.13.3</version>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
|
||
<!-- spring-boot-devtools -->
|
||
<!-- <dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-devtools</artifactId>
|
||
<optional>true</optional> <!– 表示依赖不会传递 –>
|
||
</dependency>-->
|
||
<!-- https://mvnrepository.com/artifact/us.codecraft/webmagic-core -->
|
||
<dependency>
|
||
<groupId>us.codecraft</groupId>
|
||
<artifactId>webmagic-core</artifactId>
|
||
<version>1.0.3</version>
|
||
</dependency>
|
||
<!-- https://mvnrepository.com/artifact/us.codecraft/webmagic-extension -->
|
||
<dependency>
|
||
<groupId>us.codecraft</groupId>
|
||
<artifactId>webmagic-extension</artifactId>
|
||
<version>1.0.3</version>
|
||
</dependency>
|
||
<!-- swagger3-->
|
||
<dependency>
|
||
<groupId>io.springfox</groupId>
|
||
<artifactId>springfox-boot-starter</artifactId>
|
||
</dependency>
|
||
|
||
<!-- 防止进入swagger页面报类型转换错误,排除3.0.0中的引用,手动增加1.6.2版本 -->
|
||
<dependency>
|
||
<groupId>io.swagger</groupId>
|
||
<artifactId>swagger-models</artifactId>
|
||
<version>1.6.2</version>
|
||
</dependency>
|
||
|
||
<!-- Mysql驱动包 -->
|
||
<dependency>
|
||
<groupId>mysql</groupId>
|
||
<artifactId>mysql-connector-java</artifactId>
|
||
</dependency>
|
||
|
||
<!-- 核心模块-->
|
||
<dependency>
|
||
<groupId>com.ruoyi</groupId>
|
||
<artifactId>ruoyi-framework</artifactId>
|
||
</dependency>
|
||
|
||
<!-- 定时任务-->
|
||
<dependency>
|
||
<groupId>com.ruoyi</groupId>
|
||
<artifactId>ruoyi-quartz</artifactId>
|
||
</dependency>
|
||
|
||
<!-- 代码生成-->
|
||
<dependency>
|
||
<groupId>com.ruoyi</groupId>
|
||
<artifactId>ruoyi-generator</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.projectlombok</groupId>
|
||
<artifactId>lombok</artifactId>
|
||
<version>1.18.30</version>
|
||
<scope>provided</scope>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.tashow.erp</groupId>
|
||
<artifactId>erp_client_sb</artifactId>
|
||
<version>2.4.7</version>
|
||
<scope>compile</scope>
|
||
</dependency>
|
||
|
||
</dependencies>
|
||
|
||
<build>
|
||
<plugins>
|
||
<plugin>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||
<version>2.5.15</version>
|
||
<configuration>
|
||
<fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
|
||
</configuration>
|
||
<executions>
|
||
<execution>
|
||
<goals>
|
||
<goal>repackage</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-war-plugin</artifactId>
|
||
<version>3.1.0</version>
|
||
<configuration>
|
||
<failOnMissingWebXml>false</failOnMissingWebXml>
|
||
<warName>${project.artifactId}</warName>
|
||
</configuration>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-compiler-plugin</artifactId>
|
||
<version>3.11.0</version>
|
||
<configuration>
|
||
<source>17</source>
|
||
<target>17</target>
|
||
</configuration>
|
||
</plugin>
|
||
</plugins>
|
||
<finalName>${project.artifactId}</finalName>
|
||
</build>
|
||
|
||
</project> |