|
@@ -193,9 +193,12 @@ public class HttpUtil {
|
|
|
public static String getSystemInfo(HttpServletRequest request){
|
|
|
String systenInfo = null;
|
|
|
String header = request.getHeader("user-agent");
|
|
|
+ logger.info("获取系统版本信息:"+header);
|
|
|
if(header == null || header.equals("")){
|
|
|
return "";
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
//得到用户的操作系统
|
|
|
if (header.indexOf("NT 6.0") > 0){
|
|
|
systenInfo = "Windows Vista/Server 2008";
|