update pom.xml

This commit is contained in:
Yutousama 2022-10-17 09:50:42 +08:00
parent bcafd751e6
commit 6d9277ced5
2 changed files with 6 additions and 6 deletions

10
pom.xml
View File

@ -60,7 +60,7 @@
<dependency> <dependency>
<groupId>com.alibaba.fastjson2</groupId> <groupId>com.alibaba.fastjson2</groupId>
<artifactId>fastjson2</artifactId> <artifactId>fastjson2</artifactId>
<version>2.0.12</version> <version>2.0.14</version>
</dependency> </dependency>
<dependency> <dependency>
@ -81,24 +81,24 @@
<dependency> <dependency>
<groupId>org.seleniumhq.selenium</groupId> <groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId> <artifactId>selenium-java</artifactId>
<version>4.2.1</version> <version>4.5.0</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.seleniumhq.selenium</groupId> <groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-chrome-driver</artifactId> <artifactId>selenium-chrome-driver</artifactId>
<version>4.2.1</version> <version>4.5.0</version>
</dependency> </dependency>
<!-- https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-api --> <!-- https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-api -->
<dependency> <dependency>
<groupId>org.seleniumhq.selenium</groupId> <groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-api</artifactId> <artifactId>selenium-api</artifactId>
<version>4.2.1</version> <version>4.5.0</version>
</dependency> </dependency>
<!-- https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-remote-driver --> <!-- https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-remote-driver -->
<dependency> <dependency>
<groupId>org.seleniumhq.selenium</groupId> <groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-remote-driver</artifactId> <artifactId>selenium-remote-driver</artifactId>
<version>4.2.1</version> <version>4.5.0</version>
</dependency> </dependency>

View File

@ -51,7 +51,7 @@ public class BaiHeHui extends Model {
public boolean sign() { public boolean sign() {
String cookie = ConfigTools.readFile(new File("baihehui.json")); String cookie = ConfigTools.readFile(new File("baihehui.json"));
if (StringUtils.isEmpty(cookie)) { if (StringUtils.isEmpty(cookie)||true) {
return false; return false;
} }
WebDriver driver = WebClient.getInstance().getWebDriver(); WebDriver driver = WebClient.getInstance().getWebDriver();