JDK支持Desktop.setOpenURIHandler,但似乎这只适用于MacOS。 https://docs.oracle.com/javase/9/docs/api/java/awt/Desktop.html#setOpenURIHandler-java.awt.desktop.OpenURIHandler。 Windows支持深层链接,但它似乎不适用于Desktop.setOpenURIHandler https://docs.microsoft.com/en-us/windows/uwp/launch-resume/web-to-app-linking