优化天使动漫签到
This commit is contained in:
parent
5a29f7595b
commit
159a437853
@ -6,7 +6,7 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|||||||
|
|
||||||
@SpringBootApplication
|
@SpringBootApplication
|
||||||
public class QQBotApplication {
|
public class QQBotApplication {
|
||||||
public static final String version="QQBot v.1.1.1";
|
public static final String version="QQBot v.1.1.2";
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
SpringApplication.run(QQBotApplication.class, args);
|
SpringApplication.run(QQBotApplication.class, args);
|
||||||
RedisTools.initRedisPoolSub();
|
RedisTools.initRedisPoolSub();
|
||||||
|
@ -65,8 +65,9 @@ public class Tsdm extends Model {
|
|||||||
getTsdm(array, driver);
|
getTsdm(array, driver);
|
||||||
boolean isSign=false;
|
boolean isSign=false;
|
||||||
for (WebElement element : driver.findElements(By.xpath("//a"))) {
|
for (WebElement element : driver.findElements(By.xpath("//a"))) {
|
||||||
if(element.getText().contains("签到")){
|
if(element.getText().contains("签到领奖!")){
|
||||||
isSign=true;
|
isSign=true;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(!isSign){
|
if(!isSign){
|
||||||
|
Loading…
Reference in New Issue
Block a user