调整B站签到出错时输出日志
This commit is contained in:
parent
4aa0a53cc5
commit
2c456702d8
@ -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.4b.2";
|
public static final String version="QQBot v.1.4b.3";
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
System.out.println("version = " + version);
|
System.out.println("version = " + version);
|
||||||
SpringApplication.run(QQBotApplication.class, args);
|
SpringApplication.run(QQBotApplication.class, args);
|
||||||
|
@ -41,6 +41,7 @@ public class BiliBiliLive extends Model {
|
|||||||
if ("00:01:00".equals(time)) {
|
if ("00:01:00".equals(time)) {
|
||||||
if (!new BiliLogin(qq).testLogin()) {
|
if (!new BiliLogin(qq).testLogin()) {
|
||||||
new BiliLogin(QQBotManager.defQQ).loginAsQQ();
|
new BiliLogin(QQBotManager.defQQ).loginAsQQ();
|
||||||
|
System.out.println(BiliBiliUtils.getInstance(QQBotManager.defQQ).getLoginInfo());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
signLive(QQBotManager.defQQ, qq);
|
signLive(QQBotManager.defQQ, qq);
|
||||||
|
Loading…
Reference in New Issue
Block a user