From 526683b73aba8ec279e35d3cafc044c0f66aa70e Mon Sep 17 00:00:00 2001 From: author Date: Wed, 25 Sep 2019 10:09:19 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-21990=20=E6=96=B0=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E6=8F=92=E4=BB=B6=E7=AE=A1=E7=90=86=EF=BC=8C=E5=B8=86=E8=BD=AF?= =?UTF-8?q?=E9=80=9A=E8=A1=8C=E8=AF=81=E7=99=BB=E9=99=86-=E7=AB=8B?= =?UTF-8?q?=E5=8D=B3=E6=B3=A8=E5=86=8C=E4=B8=8D=E4=BC=9A=E8=B7=B3=E8=BD=AC?= =?UTF-8?q?=E9=93=BE=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/fr/design/upm/UpmBridge.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/designer-base/src/main/java/com/fr/design/upm/UpmBridge.java b/designer-base/src/main/java/com/fr/design/upm/UpmBridge.java index 6a4b752fd1..e7d134808a 100644 --- a/designer-base/src/main/java/com/fr/design/upm/UpmBridge.java +++ b/designer-base/src/main/java/com/fr/design/upm/UpmBridge.java @@ -443,6 +443,18 @@ public class UpmBridge { } } + /** + * 立即注册 + */ + @JSBridge + public void registerHref() { + try { + Desktop.getDesktop().browse(new URI(CloudCenter.getInstance().acquireUrlByKind("bbs.register"))); + } catch (Exception e) { + FineLoggerFactory.getLogger().info(e.getMessage()); + } + } + /** * 使用系统浏览器打开网页 * @param url 要打开的网页