win10系统,谷歌浏览器下,亲测有效。
(作用1:开发模式下,运行直接跑swagger地址)
在方法体里,加入如下代码:
try {
Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler http://www.baidu.com/");
} catch (IOException e) {
// nothing
}
```