调整B站签到出错时输出日志

This commit is contained in:
yutou 2023-07-20 13:32:30 +08:00
parent 4aa0a53cc5
commit 2c456702d8
2 changed files with 2 additions and 1 deletions

View File

@ -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);

View File

@ -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);