修复百度版本保存失败问题
This commit is contained in:
@@ -10,7 +10,7 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
|
||||
@SpringBootApplication
|
||||
public class QQBotApplication {
|
||||
public static final String version = "QQBot v.1.7.2";
|
||||
public static final String version = "QQBot v.1.7.3";
|
||||
|
||||
public static void main(String[] args) {
|
||||
System.out.println("version = " + version);
|
||||
@@ -18,7 +18,7 @@ public class QQBotApplication {
|
||||
NapCatApi.setLog(true);
|
||||
RedisTools.initRedisPoolSub();
|
||||
QQBotManager.getInstance();
|
||||
val log = ConfigTools.load(ConfigTools.CONFIG, "qq.log", Boolean.class);
|
||||
val log = ConfigTools.load(ConfigTools.CONFIG, ConfigTools.QQ_LOG, Boolean.class);
|
||||
NapCatApi.setLog(log);
|
||||
//1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user