fix: fix some bug in user maintain

This commit is contained in:
2023-12-13 10:53:42 +00:00
parent 702f8072dc
commit a6b6c483a2
3 changed files with 61 additions and 29 deletions

View File

@ -17,9 +17,12 @@ void BookStoreMain(bool is_server, std::string config_dir) {
std::string cmd;
while (std::getline(std::cin, cmd)) {
auto result = std::move(engine.Execute(cmd, login_stack));
// debugPrint(cmd);
for (auto &line : result) {
std::cout << line << '\n';
// debugPrint(line);
}
// debugPrint();
if (BookStore_ZYM::shut_down) return;
}
} else {