流量统计添加isPlayer参数

This commit is contained in:
xiongziliang
2019-05-20 17:46:06 +08:00
parent f9f487bf61
commit fbead02868
5 changed files with 7 additions and 1 deletions

View File

@@ -199,6 +199,7 @@ void installWebHook(){
body["id"] = sender.getIdentifier();
body["totalBytes"] = (Json::UInt64)totalBytes;
body["duration"] = (Json::UInt64)totalDuration;
body["player"] = isPlayer;
//执行hook
do_http_hook(hook_flowreport,body, nullptr);
});