feat: 新增数据库查询

This commit is contained in:
hugy committed 2023-07-02 17:04:35 +08:00
1 parent 272d62b0e9
commit 539d026146
9 files changed
+916 -24

No files matched your search

+2
View File
@@ -1,6 +1,7 @@
#include "pch.h"
#include "global_context.h"
#include "thread_pool.h"
#include "db.h"
namespace wxhelper {
@@ -26,6 +27,7 @@ void GlobalContext::initialize(HMODULE module) {
http_server->HttpStart();
ThreadPool::GetInstance().Create(2, 8);
mgr = std::unique_ptr<Manager>(new Manager(base));
DB::GetInstance().init(base);
state =GlobalContextState::INITIALIZED;
}