添加了权限与用户名查询
This commit is contained in:
@ -454,5 +454,6 @@ std::vector<std::string> BookStoreEngineClass::ExecuteReport(
|
||||
}
|
||||
|
||||
std::string BookStoreEngineClass::QueryUserInfo(const std::string &user_name) {
|
||||
return user_name + std::to_string(user_data_base.GetPrevilege(user_name));
|
||||
return user_name + " " +
|
||||
std::to_string(user_data_base.GetPrevilege(user_name));
|
||||
}
|
Reference in New Issue
Block a user