getAllSession接口返回完整可读类名

This commit is contained in:
xiongziliang 2022-06-11 15:03:28 +08:00
parent 926e78272c
commit 84d0d1db19
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit 366cc00a5e4d16364af297f61744b59920e42d74
Subproject commit eb9b8b42726185abeec6dba3294c310906284773

View File

@ -783,7 +783,7 @@ void installWebApi() {
jsession["local_ip"] = session->get_local_ip();
jsession["local_port"] = session->get_local_port();
jsession["id"] = id;
jsession["typeid"] = typeid(*session).name();
jsession["typeid"] = toolkit::demangle(typeid(*session).name());
val["data"].append(jsession);
});
});