终端统计中显示系统和浏览器的版本号

This commit is contained in:
GoEdgeLab
2021-02-07 09:23:55 +08:00
parent b5e8127de2
commit 111f098d00

View File

@@ -75,7 +75,7 @@ func (this *ClientsAction) RunGet(params struct {
"count": stat.Count,
"system": maps.Map{
"id": stat.ClientSystem.Id,
"name": stat.ClientSystem.Name,
"name": stat.ClientSystem.Name + " " + stat.Version,
},
})
}
@@ -97,7 +97,7 @@ func (this *ClientsAction) RunGet(params struct {
"count": stat.Count,
"browser": maps.Map{
"id": stat.ClientBrowser.Id,
"name": stat.ClientBrowser.Name,
"name": stat.ClientBrowser.Name + " " + stat.Version,
},
})
}