diff --git a/pom.xml b/pom.xml index 19ff167..4e3739c 100644 --- a/pom.xml +++ b/pom.xml @@ -60,7 +60,7 @@ com.alibaba.fastjson2 fastjson2 - 2.0.12 + 2.0.14 @@ -81,24 +81,24 @@ org.seleniumhq.selenium selenium-java - 4.2.1 + 4.5.0 org.seleniumhq.selenium selenium-chrome-driver - 4.2.1 + 4.5.0 org.seleniumhq.selenium selenium-api - 4.2.1 + 4.5.0 org.seleniumhq.selenium selenium-remote-driver - 4.2.1 + 4.5.0 diff --git a/src/main/java/com/yutou/qqbot/models/WebSign/BaiHeHui.java b/src/main/java/com/yutou/qqbot/models/WebSign/BaiHeHui.java index 8636eb4..e59ec6f 100644 --- a/src/main/java/com/yutou/qqbot/models/WebSign/BaiHeHui.java +++ b/src/main/java/com/yutou/qqbot/models/WebSign/BaiHeHui.java @@ -51,7 +51,7 @@ public class BaiHeHui extends Model { public boolean sign() { String cookie = ConfigTools.readFile(new File("baihehui.json")); - if (StringUtils.isEmpty(cookie)) { + if (StringUtils.isEmpty(cookie)||true) { return false; } WebDriver driver = WebClient.getInstance().getWebDriver();