Skip to content

Commit 28a8787

Browse files
committed
v8.1.3
1 parent 8bdfb33 commit 28a8787

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

bus-http/src/main/java/org/miaixz/bus/http/metric/anget/Browser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public class Browser extends UserAgent {
5959
// 企业微信 企业微信使用微信浏览器内核,会包含 MicroMessenger 所以要放在前面
6060
new Browser("wxwork", "wxwork", "wxwork\\/([\\d\\w\\.\\-]+)"),
6161
// 微信电脑端
62-
new Browser("WindowsWechat", "WindowsWechat", "MicroMessenger" + Other_Version),
62+
new Browser("WindowsWechat", "WindowsWechat", "MicroMessenger" + OTHER_VERSION),
6363
// 微信
6464
new Browser("MicroMessenger", "MicroMessenger", OTHER_VERSION),
6565
// 微信小程序

bus-http/src/main/java/org/miaixz/bus/http/metric/anget/Device.java

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,17 +79,19 @@ public class Device extends UserAgent {
7979
public static final List<Device> MOBILE_DEVICE = ListKit.of(WINDOWS_PHONE, IPAD, IPOD, IPHONE,
8080
new Device("Android", "XiaoMi|MI\\s+"), ANDROID, GOOGLE_TV, new Device("htcFlyer", "htc_flyer"),
8181
new Device("Symbian", "symbian(os)?"), new Device("Blackberry", "blackberry"));
82-
/**
83-
* 支持的平台类型
84-
*/
85-
public static final List<Device> ALL_DEVICE = (List<Device>) CollKit.union(MOBILE_DEVICE, DESKTOP_DEVICE);
82+
8683
/**
8784
* 支持的桌面平台类型
8885
*/
8986
public static final List<Device> DESKTOP_DEVICE = ListKit.of(new Device("Windows", "windows"),
9087
new Device("Mac", "(macintosh|darwin)"), new Device("Linux", "linux"), new Device("Wii", "wii"),
9188
new Device("Playstation", "playstation"), new Device("Java", "java"));
9289

90+
/**
91+
* 支持的平台类型
92+
*/
93+
public static final List<Device> ALL_DEVICE = (List<Device>) CollKit.union(MOBILE_DEVICE, DESKTOP_DEVICE);
94+
9395
/**
9496
* 构造
9597
*

0 commit comments

Comments
 (0)