添加WebSocket配置
This commit is contained in:
parent
a6ff68ab82
commit
ba336e9031
@ -44,6 +44,7 @@ public class RouteController {
|
|||||||
} else {
|
} else {
|
||||||
mv.addObject("oauthServer", systemProperties.getPortalUrl());
|
mv.addObject("oauthServer", systemProperties.getPortalUrl());
|
||||||
}
|
}
|
||||||
|
mv.addObject("ws", systemProperties.getWs());
|
||||||
mv.addObject("title", systemProperties.getTitle());
|
mv.addObject("title", systemProperties.getTitle());
|
||||||
return mv;
|
return mv;
|
||||||
}
|
}
|
||||||
|
@ -19,6 +19,7 @@ public class SystemProperties {
|
|||||||
|
|
||||||
private Integer port;
|
private Integer port;
|
||||||
private String url;
|
private String url;
|
||||||
|
private String ws;
|
||||||
private String title;
|
private String title;
|
||||||
private String portalUrl;
|
private String portalUrl;
|
||||||
private String loginPageName;
|
private String loginPageName;
|
||||||
@ -39,6 +40,14 @@ public class SystemProperties {
|
|||||||
this.url = url;
|
this.url = url;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getWs() {
|
||||||
|
return ws;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setWs(String ws) {
|
||||||
|
this.ws = ws;
|
||||||
|
}
|
||||||
|
|
||||||
public String getTitle() {
|
public String getTitle() {
|
||||||
return title == null ? "" : title.trim();
|
return title == null ? "" : title.trim();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user