mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-03 08:57:32 +08:00
getAllSession接口返回完整可读类名
This commit is contained in:
Submodule 3rdpart/ZLToolKit updated: 366cc00a5e...eb9b8b4272
@@ -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);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user