mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-13 03:31:45 +08:00
getAllSession接口返回完整可读类名
This commit is contained in:
@@ -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